You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Mutation request is submitted twice when backend takes a while to return the response or internet connection is slower.
It works when backend returns result quickly.
How to disable mutation retry policy? i.e. submit mutation only once or fail.
I believe the best solution will be for the AppSync service to enforce idempotent service in their service APIs. The client should attach a request ID for outbound requests. For the situation described in this issue, the client will use the same request ID, so AppSync will know that it is being asked to do the same logical work, and will reject the second request.
This issue is still ongoing. The freedom to calibrate or disable retry logic is still needed. Some services have expected processing time, where matching the expected time to the need for an automatic retry is a business need.
The freedom to calibrate or disable retry logic is still needed.
is there any update on this ? We are trying to use AppSync in our Android App and we wanted to use custom retry policy. From the code seems like even if we define our own OkHttp client, the RetryInterceptor will override it anyways.
Describe the bug
Mutation request is submitted twice when backend takes a while to return the response or internet connection is slower.
It works when backend returns result quickly.
How to disable mutation retry policy? i.e. submit mutation only once or fail.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Mutations must not be submitted twice. Disable retry policy for mutations.
Environment(please complete the following information):
Device Information (please complete the following information):
The text was updated successfully, but these errors were encountered: