java.lang.RuntimeException: An error occured while executing doInBackground()

GitHub | JaidynBelbin | 5 months ago
  1. 0

    Android aws cognito Invalid login token. Not a Cognito token

    Stack Overflow | 7 months ago | Praveen Yadav
    com.amazonaws.services.cognitoidentity.model.NotAuthorizedException: Invalid login token. Not a Cognito token. (Service: AmazonCognitoIdentity; Status Code: 400; Error Code: NotAuthorizedException; Request ID: a270a26a-18fa-11e6-add3-c1b3dbd555de)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    AWS S3 - How to get credentials correct for Android?

    Stack Overflow | 4 weeks ago | user2062024
    com.amazonaws.services.cognitoidentity.model.NotAuthorizedException: Access to Identity 'us-east-1:xxxxx' is forbidden. (Service: AmazonCognitoIdentity; Status Code: 400; Error Code: NotAuthorizedException; Request ID: xxxxx)
  4. 0

    Integrating User Pools with Amazon Cognito Identity with authentication provider

    Stack Overflow | 1 month ago | Felini500
    com.amazonaws.services.cognitoidentity.model.NotAuthorizedException: Logins don't match. Please include at least one valid login for this identity or identity pool. (Service: AmazonCognitoIdentity; Status Code: 400; Error Code: NotAuthorizedException; Request ID: ff4da8ad-9a96-11e6-9c64-67a5c841c727)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.amazonaws.services.cognitoidentity.model.NotAuthorizedException

    Access to Identity 'us-east-1:c48bc499-25e4-4af6-a2ee-868edaaed70c' is forbidden. (Service: AmazonCognitoIdentity; Status Code: 400; Error Code: NotAuthorizedException; Request ID: d5f18fbb-4d4c-11e6-ae3e-8d2ec33632dc)

    at com.amazonaws.http.AmazonHttpClient.handleErrorResponse()
  2. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:716)
    2. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:392)
    3. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:199)
    3 frames
  3. AWS SDK for Android
    AmazonCognitoIdentityClient.getCredentialsForIdentity
    1. com.amazonaws.services.cognitoidentity.AmazonCognitoIdentityClient.invoke(AmazonCognitoIdentityClient.java:533)
    2. com.amazonaws.services.cognitoidentity.AmazonCognitoIdentityClient.getCredentialsForIdentity(AmazonCognitoIdentityClient.java:406)
    2 frames
  4. AWS SDK for Java - Core
    CognitoCachingCredentialsProvider.refresh
    1. com.amazonaws.auth.CognitoCredentialsProvider.populateCredentialsWithCognito(CognitoCredentialsProvider.java:627)
    2. com.amazonaws.auth.CognitoCredentialsProvider.startSession(CognitoCredentialsProvider.java:553)
    3. com.amazonaws.auth.CognitoCredentialsProvider.refresh(CognitoCredentialsProvider.java:503)
    4. com.amazonaws.auth.CognitoCachingCredentialsProvider.refresh(CognitoCachingCredentialsProvider.java:463)
    4 frames
  5. com.example.yardenbourg
    MindHiveLogin$RefreshCredentials.doInBackground
    1. com.example.yardenbourg.mindhivepodcast.MindHiveLogin$RefreshCredentials.doInBackground(MindHiveLogin.java:154)
    2. com.example.yardenbourg.mindhivepodcast.MindHiveLogin$RefreshCredentials.doInBackground(MindHiveLogin.java:149)
    2 frames
  6. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:288)
    1 frame
  7. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame