2

I'm using AWS Amplify and AppSync on my application in Android Studio. Getting and creating items works fine but the update mutation doesn't seem to work. Here is my code:

Amplify.API.query(
            ModelMutation.update(d),
            { Log.i("Amplify", "Aggiornato con successo")
                Constants.getInstance().isQueryEnded = true}
        ) { error: ApiException? -> Log.e("Amplify", "Query failure", error) }

It actually prints the "Update succeeded" log ang updates the _version flag of the item but doesn't update the values that i need to update.

Giulia T.
  • 21
  • 3
  • Here is similar issue that with answers: https://stackoverflow.com/questions/65659687/amplify-and-appsync-not-updating-data-on-mutation-from-multiple-sources/65669523 – Metu Oct 04 '22 at 11:11

0 Answers0