-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot sync with the cloud #821
Comments
Hello @otabek1 , thanks for opening this issue. Here are some tips to help you resolve the issue:
|
Hey @HuiSF Thanks for the quick reply. Here are my logs and there does not seem to be any issue: But it is still not showing up in Admin UI |
This message usually means the locally saved data has been synced to cloud successfully. Could you also check from the DynamoDB console, see if the data has been written into the tables? |
I checked it is empty. |
This is a bug report I just filed that includes a couple of bugs I found and the workarounds to each |
@otabek1 could you please paste the schema of the model that cannot be synced to cloud? (you can find the schema in |
Hey @otabek1 I am closing this issue for now as we didn't hear from you Regards |
I'm having this EXACT same issue and I cannot find when or how it stopped working. type Configuration @model @auth(rules: [{allow: private}, {allow: private, provider: iam}]) { Result after save: 15509-15646 I/art: Rejecting re-init on previously-failed class java.lang.Class<io.reactivex.rxjava3.internal.jdk8.CompletionStageConsumer> I/amplify:aws-datastore: Successfully removed from mutations outboxPendingMutation But it simply will not show in DynamoDB or Admin UI. |
@otabek1 are you using a specific version of okhttp in your android library? If yes, update to the latest will resolve the issue. |
Describe the bug
I am using Amplify DataStore and API to save to on the cloud. But I am getting "Failed to load class "org.slf4j.impl.StaticLoggerBinder" error when I try to save an object. I followed the same tutorials from the documentation and Youtube.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Platform
Amplify Flutter current supports iOS and Android. This issue is reproducible in (check all that apply):
[x] Android
[] iOS
}
void _configureAmplify() async {
AmplifyDataStore datastorePlugin =
AmplifyDataStore(modelProvider: ModelProvider.instance);
}
void addAdult() async {
if (formKey.currentState!.validate()) {
print("validated");
try {
final item = Adult(
firstName: "Lorem ipsum dolor sit amet",
lastName: "Lorem ipsum dolor sit amet",
hasChildren: true,
totalEarned: 123.45,
totalTipped: 123.45,
phoneNumber: "(555) 123-6789");
await Amplify.DataStore.save(item).then((value) => print("done"));
} catch (e) {
print("Someting went wrong $e");
}
}
}
The text was updated successfully, but these errors were encountered: