java.lang.RuntimeException: Unable to start activity ComponentInfo{com.intap.name/com.intap.name.MainActivity}: com.amazonaws.AmazonServiceException: 1 validation error detected: Value null at 'token' failed to satisfy constraint: Member must not be null (Service: AmazonSNS; Status Code: 400; Error Code: ValidationError; Request ID: 21d6a3b2-0459-513a-bf7a-f3c1d99d41ac)

Stack Overflow | Ido Naveh | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error with FCM + SNS Token on Android app

    Stack Overflow | 7 months ago | Ido Naveh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.intap.name/com.intap.name.MainActivity}: com.amazonaws.AmazonServiceException: 1 validation error detected: Value null at 'token' failed to satisfy constraint: Member must not be null (Service: AmazonSNS; Status Code: 400; Error Code: ValidationError; Request ID: 21d6a3b2-0459-513a-bf7a-f3c1d99d41ac)
  2. 0

    sample app for sns mobile push service cant register endpoint with SNS

    GitHub | 2 years ago | dmsherazi
    com.amazonaws.AmazonServiceException: No account found for the given parameters (Service: AmazonSNS; Status Code: 403; Error Code: InvalidClientTokenId; Request ID: 400a8b46-df34-5d36-afde-c7ba2376fc62)
  3. 0

    AWS SNS registeration: No account found for the given parameters

    Stack Overflow | 2 years ago | dmsherazi
    com.amazonaws.AmazonServiceException: No account found for the given parameters (Service: AmazonSNS; Status Code: 403; Error Code: InvalidClientTokenId; Request ID: 400a8b46-df34-5d36-afde-c7ba2376fc62)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Errors in DynamoDB Android Connectivity app

    Stack Overflow | 6 months ago | manveen kaur
    com.amazonaws.AmazonServiceException: User: arn:aws:sts::876875924999:assumed-role/Cognito_DynamoDBTrialUnauth_Role/CognitoIdentityCredentials is not authorized to perform: dynamodb:UpdateItem on resource: arn:aws:dynamodb:us-east-1:952715924307:table/Books (Service: AmazonDynamoDB; Status Code: 400; Error Code: AccessDeniedException; Request ID: 9SSSSEQ3FP7ROT11BT5O1RRRRRJVV4KQJJJJAEMVJKKKK9ASULLLL)
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.AmazonServiceException

    1 validation error detected: Value null at 'token' failed to satisfy constraint: Member must not be null (Service: AmazonSNS; Status Code: 400; Error Code: ValidationError; Request ID: 21d6a3b2-0459-513a-bf7a-f3c1d99d41ac)

    at com.amazonaws.http.AmazonHttpClient.handleErrorResponse()
  2. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:712)
    2. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:388)
    3. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:199)
    3 frames
  3. AWS Java SDK for Amazon SNS
    AmazonSNSClient.createPlatformEndpoint
    1. com.amazonaws.services.sns.AmazonSNSClient.invoke(AmazonSNSClient.java:2262)
    2. com.amazonaws.services.sns.AmazonSNSClient.createPlatformEndpoint(AmazonSNSClient.java:447)
    2 frames
  4. com.amazonaws.mobile
    PushManager.subscribeToTopic
    1. com.amazonaws.mobile.push.PushManager.subscribeToTopic(PushManager.java:264)
    1 frame
  5. com.intap.name
    MainActivity.onCreate
    1. com.intap.name.MainActivity.onCreate(MainActivity.java:50)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6876)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
    5. android.app.ActivityThread.access$1100(ActivityThread.java:221)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:158)
    9. android.app.ActivityThread.main(ActivityThread.java:7224)
    9 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames