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
Subscribe: AmplifyException{message=Connection failed., cause=null, recoverySuggestion=Sorry, we don't have a suggested fix for this error yet. (The same with no internet connection exception).
The lib should add the cause of this exception something like ApiAuthException instead of returning null, so the app can detect what is wrong.
Before opening, please confirm:
Language and Async Model
Kotlin, Kotlin - Coroutines
Amplify Categories
GraphQL API
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the feature request
When the token is expired the Amplify.API.query/Amplify.API.subscribe returns the general exception without the underlying cause of the exception.
Query: AmplifyException{message=OkHttp client request failed., cause=null, recoverySuggestion=Irrecoverable error
Subscribe: AmplifyException{message=Connection failed., cause=null, recoverySuggestion=Sorry, we don't have a suggested fix for this error yet. (The same with no internet connection exception).
The lib should add the cause of this exception something like ApiAuthException instead of returning null, so the app can detect what is wrong.
Initialization steps (if applicable)
No response
Code Snippet
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: