In production datastore doesn't sync
See original GitHub issueDescribe the bug I manually deployed 3 different react app with
- graphql api dynamodb
- cognito auth with email
- everything default with
create-react-app
settings - using typescript with react
Everything syncs in development (localhost) but doen’t sync in deployed app in both cases amplify app domain & custom domain.
auth works in production but graphql api doesn’t sync
I am able to login with email in production but cannot sync.
I deployed manually with
- directly from console
- using amplify cli to deploy manually
Both cases no queries are made and no mutations are made. Only offline access is avaialble.
Expected behavior If it can sync on development (localhost) then it should also sync in production (amplifyapp domain or custom domain).
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (3 by maintainers)
Top Results From Across the Web
Syncing a Core Data Store with CloudKit
Syncing a Core Data Store with CloudKit. Synchronize objects between devices, and handle store changes in the user interface. Overview.
Read more >Exporting and Importing Entities - Datastore
This page describes how to export and import Firestore in Datastore mode entities using the managed export and import service. The managed export...
Read more >App Architecture: Data Layer - DataStore
Explore this app architecture guide on data layer libraries to learn about Preferences DataStore and Proto DataStore, Setup, and more.
Read more >For an Amplify Datastore setup, is there a way to turn off ...
I'm using Amplify Datastore with AppSync enabled. Data syncing is working between local and cloud, but having to execute amplify push to ...
Read more >Troubleshooting and Common Mistakes - AWS AppSync
This section discusses some common errors and how to troubleshoot them. Incorrect DynamoDB Key Mapping. If your GraphQL operation returns the following ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@apoorvmote Workaround: adding DataStore in my main.ts with no argument worked for me.
For install unstable release:
yarn add @aws-amplify/datastore@unstable
using yarnnpm install @aws-amplify/datastore@unstable
using npm