java.lang.RuntimeException: Unable to start activity ComponentInfo{com.intap.appme/com.intap.appme.MainActivity}: com.amazonaws.services.sns.model.InvalidParameterException: Invalid parameter: Endpoint (Service: AmazonSNS; Status Code: 400; Error Code: InvalidParameter; Request ID: e8589d7c-dec8-55e1-807f-cd16c8794be8)

Stack Overflow | Ido Naveh | 2 months ago
  1. 0

    Invalid Parameter in AWS SNS Android App

    Stack Overflow | 2 months ago | Ido Naveh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.intap.appme/com.intap.appme.MainActivity}: com.amazonaws.services.sns.model.InvalidParameterException: Invalid parameter: Endpoint (Service: AmazonSNS; Status Code: 400; Error Code: InvalidParameter; Request ID: e8589d7c-dec8-55e1-807f-cd16c8794be8)
  2. 0

    Exceptions in SNS Android App

    Stack Overflow | 2 months ago | Ido Naveh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.intap.appme/com.intap.appme.MainActivity}: com.amazonaws.services.sns.model.InvalidParameterException: Invalid parameter: Endpoint (Service: AmazonSNS; Status Code: 400; Error Code: InvalidParameter; Request ID: 698306d3-9079-53a0-8dc2-56ba6ae67d2b)

Root Cause Analysis

  1. com.amazonaws.services.sns.model.InvalidParameterException

    Invalid parameter: Endpoint (Service: AmazonSNS; Status Code: 400; Error Code: InvalidParameter; Request ID: e8589d7c-dec8-55e1-807f-cd16c8794be8)

    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.subscribe
    1. com.amazonaws.services.sns.AmazonSNSClient.invoke(AmazonSNSClient.java:2262)
    2. com.amazonaws.services.sns.AmazonSNSClient.subscribe(AmazonSNSClient.java:1256)
    2 frames
  4. com.amazonaws.mobile
    PushManager.subscribeToTopic
    1. com.amazonaws.mobile.push.PushManager.subscribeToTopic(PushManager.java:251)
    1 frame
  5. com.intap.appme
    MainActivity.onCreate
    1. com.intap.appme.MainActivity.onCreate(MainActivity.java:50)
    1 frame
  6. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6876)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
    3 frames