Every once in a while I am no longer able to access information on Amplify, and I get this error:
Query failure
NonRetryableException{message=OkHttp client request failed., cause=null, recoverySuggestion=Irrecoverable error}
at com.amplifyframework.api.aws.AppSyncGraphQLOperation$OkHttpCallback.onResponse(AppSyncGraphQLOperation.java:147)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:539)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
The way I have been fixing it is by updating the schema and deploying it again, I add a field or something. But why does this happen? any ideas?