awslabs / aws-mobile-appsync-sdk-android

Android SDK for AWS AppSync.
https://docs.amplify.aws/sdk/api/graphql/q/platform/android/
Apache License 2.0
105 stars 58 forks source link

Cognito Token error #319

Closed Lishenga closed 3 years ago

Lishenga commented 3 years ago

Am getting this error when Cognito Pools as an Authentication method "Failed to retrieve Cognito User Pools token."

What could be the issue?

richardmcclellan commented 3 years ago

Hi @Lishenga, that error is thrown here and typically means you are trying to make a request that requires a Cognito User Pools token, but you don't have one, likely because you are not signed in yet.