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

Stack Overflow | Komal | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Crashing application caused by ApiClientException in Api gateway

    Stack Overflow | 10 months ago | Komal
    java.lang.RuntimeException: An error occured while executing doInBackground()
  2. 0

    ApiGateway Autogenerated SDK "The request signature we calculated does not match the signature you provided" Error

    Stack Overflow | 7 months ago | CamHart
    com.amazonaws.mobileconnectors.apigateway.ApiClientException: {"message":"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.\n\nThe Canonical String for this request should have been\n'POST\n...\n"} (Service: DevsupercoolsoftwareClient; Status Code: 403; Error Code: null; Request ID: bd8d4c91-7758-11e6-a0a0-69136ab6b7af)
  3. 0

    "Missing Authentication Token"-android

    Stack Overflow | 4 months ago | TheQ
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.amazonaws.mobileconnectors.apigateway.ApiClientException

      {"Message":"User: arn:aws:sts::686770309549:assumed-role/Cognito_bookmixnewUnauth_Role/CognitoIdentityCredentials is not authorized to perform: execute-api:Invoke on resource: arn:aws:execute-api:us-east-1:********9549:abcde/mycleint/GET/login/login"} (Service: MyClient; Status Code: 403; Error Code: null; Request ID: 80ede0b7-3f77-13435e6-45345-24325435)

      at com.amazonaws.mobileconnectors.apigateway.ApiClientHandler.handleResponse()
    2. com.amazonaws.mobileconnectors
      ApiClientHandler.invoke
      1. com.amazonaws.mobileconnectors.apigateway.ApiClientHandler.handleResponse(ApiClientHandler.java:240)
      2. com.amazonaws.mobileconnectors.apigateway.ApiClientHandler.invoke(ApiClientHandler.java:93)
      2 frames
    3. Unknown
      $Proxy1.viewprofileGet
      1. $Proxy1.viewprofileGet(Native Method)
      1 frame
    4. com.example.android
      AwsActivity$MyAsyncTask.doInBackground
      1. com.example.android.awsapidemo.AwsActivity$MyAsyncTask.doInBackground(AwsActivity.java:63)
      2. com.example.android.awsapidemo.AwsActivity$MyAsyncTask.doInBackground(AwsActivity.java:37)
      2 frames
    5. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:287)
      1 frame
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:234)
      1 frame
    7. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
      3. java.lang.Thread.run(Thread.java:841)
      3 frames