-
Notifications
You must be signed in to change notification settings - Fork 116
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
ApiClientException: Failed to get credentials from Cognito Identity #2600
Comments
Hi @uvinodh, could you please provide a more complete description of the issue? A snippet showing what call(s) you are trying to make and a full log output would be a good start. I'm particularly interested in what you mean by "just after login" - does this mean after getting a response to the signIn API, or after receiving a Hub event, or something else? Also, is this a single device that you use for development testing? |
Hey, Thanks for the response. "just after login" => We use Amplify kotlin-coroutines signIn API for login.
After we get login response as success, we proceed to call one of our backend API using AWS SDK. This API responds with error "ApiClientException: Failed to get credentials from Cognito Identity" This is happening on one of the customers device, which is Pixel 5. Thanks, |
I have tested calling other Amplify APIs right after sign in and it seems to work. Can you please try the following:
|
Closing due to inactivity. If you are still facing an issue feel free to respond here to get this issue re-opened or create a new issue. Thank you. |
|
Before opening, please confirm:
Language and Async Model
Kotlin - Coroutines
Amplify Categories
Authentication
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
We are getting the following error when we call an aws-sdk api just after login:
ApiClientException: Failed to get credentials from Cognito Identity
This is happening only on one device, Pixel 5.
Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: