Common Amazon SNS mobile push API errors
Errors that are returned by the Amazon SNS APIs for mobile push are listed in the following table. For more information about the Amazon SNS APIs for mobile push, see Mobile push API actions.
Error | Description | HTTPS status code | API Action |
---|---|---|---|
Application Name is null string |
The required application name is set to null. |
400 |
|
Platform Name is null string |
The required platform name is set to null. |
400 |
|
Platform Name is invalid |
An invalid or out-of-range value was supplied for the platform name. |
400 |
|
APNs — Principal is not a valid certificate |
An invalid certificate was supplied for the APNs principal, which is the SSL certificate. For more information, see CreatePlatformApplication in the Amazon Simple Notification Service API Reference. |
400 |
|
APNs — Principal is a valid cert but not in a .pem format |
A valid certificate that is not in the .pem format was supplied for the APNs principal, which is the SSL certificate. |
400 |
|
APNs — Principal is an expired certificate |
An expired certificate was supplied for the APNs principal, which is the SSL certificate. |
400 |
|
APNs — Principal is not an Apple issued certificate |
A non-Apple issued certificate was supplied for the APNs principal, which is the SSL certificate. |
400 |
|
APNs — Principal is not provided |
The APNs principal, which is the SSL certificate, was not provided. |
400 |
|
APNs — Credential is not provided |
The APNs credential, which is the private key, was not provided. For more information, see CreatePlatformApplication in the Amazon Simple Notification Service API Reference. |
400 |
|
APNs — Credential are not in a valid .pem format |
The APNs credential, which is the private key, is not in a valid .pem format. |
400 |
|
FCM — serverAPIKey is not provided |
The FCM credential, which is the API key, was not provided. For more information, see CreatePlatformApplication in the Amazon Simple Notification Service API Reference. |
400 |
|
FCM — serverAPIKey is empty |
The FCM credential, which is the API key, is empty. |
400 |
|
FCM — serverAPIKey is a null string |
The FCM credential, which is the API key, is null. |
400 |
|
FCM — serverAPIKey is invalid |
The FCM credential, which is the API key, is invalid. |
400 |
|
ADM — clientsecret is not provided |
The required client secret is not provided. |
400 |
|
ADM — clientsecret is a null string |
The required string for the client secret is null. |
400 |
|
ADM — client_secret is empty string |
The required string for the client secret is empty. |
400 |
|
ADM — client_secret is not valid |
The required string for the client secret is not valid. |
400 |
|
ADM — client_id is empty string |
The required string for the client ID is empty. |
400 |
|
ADM — clientId is not provided |
The required string for the client ID is not provided. |
400 |
|
ADM — clientid is a null string |
The required string for the client ID is null. |
400 |
|
ADM — client_id is not valid |
The required string for the client ID is not valid. |
400 |
|
EventEndpointCreated has invalid ARN format |
EventEndpointCreated has invalid ARN format. |
400 |
|
EventEndpointDeleted has invalid ARN format |
EventEndpointDeleted has invalid ARN format. |
400 |
|
EventEndpointUpdated has invalid ARN format |
EventEndpointUpdated has invalid ARN format. |
400 |
|
EventDeliveryAttemptFailure has invalid ARN format |
EventDeliveryAttemptFailure has invalid ARN format. |
400 |
|
EventDeliveryFailure has invalid ARN format |
EventDeliveryFailure has invalid ARN format. |
400 |
|
EventEndpointCreated is not an existing Topic |
EventEndpointCreated is not an existing topic. |
400 |
|
EventEndpointDeleted is not an existing Topic |
EventEndpointDeleted is not an existing topic. |
400 |
|
EventEndpointUpdated is not an existing Topic |
EventEndpointUpdated is not an existing topic. |
400 |
|
EventDeliveryAttemptFailure is not an existing Topic |
EventDeliveryAttemptFailure is not an existing topic. |
400 |
|
EventDeliveryFailure is not an existing Topic |
EventDeliveryFailure is not an existing topic. |
400 |
|
Platform ARN is invalid |
Platform ARN is invalid. |
400 |
|
Platform ARN is valid but does not belong to the user |
Platform ARN is valid but does not belong to the user. |
400 |
|
APNs — Principal is not a valid certificate |
An invalid certificate was supplied for the APNs principal, which is the SSL certificate. For more information, see CreatePlatformApplication in the Amazon Simple Notification Service API Reference. |
400 |
|
APNs — Principal is a valid cert but not in a .pem format |
A valid certificate that is not in the .pem format was supplied for the APNs principal, which is the SSL certificate. |
400 |
|
APNs — Principal is an expired certificate |
An expired certificate was supplied for the APNs principal, which is the SSL certificate. |
400 |
|
APNs — Principal is not an Apple issued certificate |
A non-Apple issued certificate was supplied for the APNs principal, which is the SSL certificate. |
400 |
|
APNs — Principal is not provided |
The APNs principal, which is the SSL certificate, was not provided. |
400 |
|
APNs — Credential is not provided |
The APNs credential, which is the private key, was not provided. For more information, see CreatePlatformApplication in the Amazon Simple Notification Service API Reference. |
400 |
|
APNs — Credential are not in a valid .pem format |
The APNs credential, which is the private key, is not in a valid .pem format. |
400 |
|
FCM — serverAPIKey is not provided |
The FCM credential, which is the API key, was not provided. For more information, see CreatePlatformApplication in the Amazon Simple Notification Service API Reference. |
400 |
|
FCM — serverAPIKey is a null string |
The FCM credential, which is the API key, is null. |
400 |
|
ADM — clientId is not provided |
The required string for the client ID is not provided. |
400 |
|
ADM — clientid is a null string |
The required string for the client ID is null. |
400 |
|
ADM — clientsecret is not provided |
The required client secret is not provided. |
400 |
|
ADM — clientsecret is a null string |
The required string for the client secret is null. |
400 |
|
EventEndpointUpdated has invalid ARN format |
EventEndpointUpdated has invalid ARN format. |
400 |
|
EventEndpointDeleted has invalid ARN format |
EventEndpointDeleted has invalid ARN format. |
400 |
|
EventEndpointUpdated has invalid ARN format |
EventEndpointUpdated has invalid ARN format. |
400 |
|
EventDeliveryAttemptFailure has invalid ARN format |
EventDeliveryAttemptFailure has invalid ARN format. |
400 |
|
EventDeliveryFailure has invalid ARN format |
EventDeliveryFailure has invalid ARN format. |
400 |
|
EventEndpointCreated is not an existing Topic |
EventEndpointCreated is not an existing topic. |
400 |
|
EventEndpointDeleted is not an existing Topic |
EventEndpointDeleted is not an existing topic. |
400 |
|
EventEndpointUpdated is not an existing Topic |
EventEndpointUpdated is not an existing topic. |
400 |
|
EventDeliveryAttemptFailure is not an existing Topic |
EventDeliveryAttemptFailure is not an existing topic. |
400 |
|
EventDeliveryFailure is not an existing Topic |
EventDeliveryFailure is not an existing topic. |
400 |
|
Platform ARN is invalid |
The platform ARN is invalid. |
400 |
|
Platform ARN is valid but does not belong to the user |
The platform ARN is valid, but does not belong to the user. |
403 |
|
Token specified is invalid |
The specified token is invalid. |
400 |
|
Platform ARN is invalid |
The platform ARN is invalid. |
400 |
|
Platform ARN is valid but does not belong to the user |
The platform ARN is valid, but does not belong to the user. |
404 |
|
Token specified is invalid |
The specified token is invalid. |
400 |
|
Platform ARN is invalid |
The platform ARN is invalid. |
400 |
|
Platform ARN is valid but does not belong to the user |
The platform ARN is valid, but does not belong to the user. |
403 |
|
Platform ARN is invalid |
The platform ARN is invalid. |
400 |
|
Platform ARN is valid but does not belong to the user |
The platform ARN is valid, but does not belong to the user. |
404 |
|
Token is not specified |
The token is not specified. |
400 |
|
Token is not of correct length |
The token is not the correct length. |
400 |
|
Customer User data is too large |
The customer user data cannot be more than 2048 bytes long in UTF-8 encoding. |
400 |
|
Endpoint ARN is invalid |
The endpoint ARN is invalid. |
400 |
|
Endpoint ARN is valid but does not belong to the user |
The endpoint ARN is valid, but does not belong to the user. |
403 |
|
Endpoint ARN is invalid |
The endpoint ARN is invalid. |
400 |
|
Endpoint ARN is valid but does not belong to the user |
The endpoint ARN is valid, but does not belong to the user. |
403 |
|
Token is not specified |
The token is not specified. |
400 |
|
Token is not of correct length |
The token is not the correct length. |
400 |
|
Customer User data is too large |
The customer user data cannot be more than 2048 bytes long in UTF-8 encoding. |
400 |
|
Endpoint ARN is invalid |
The endpoint ARN is invalid. |
400 |
|
Endpoint ARN is valid but does not belong to the user |
The endpoint ARN is valid, but does not belong to the user. |
403 |
|
Target ARN is invalid |
The target ARN is invalid. |
400 |
|
Target ARN is valid but does not belong to the user |
The target ARN is valid, but does not belong to the user. |
403 |
|
Message format is invalid |
The message format is invalid. |
400 |
|
Message size is larger than supported by protocol/end-service |
The message size is larger than supported by the protocol/end-service. |
400 |
|