I\'m using Amazon SNS. Notifications work well, but sometimes I get this error:
{
\"message\": \"Endpoint is disabled\",
\"code\": \"EndpointDisabled
Quick checklist before taking drastic measures:
In my case I generated the CSR using a third party SSL tool. I obtained a valid certificate from Apple developer portal but without the private key. Then I tried Windows' certificate tool to export without great success. Waste of time. Start your Mac.
Then I used the AmazonMobilePush sample app to get a device token. Because the demo's bundle identifier doesn't match my certificate, the endpoint was invalid. At each SNS sending the endpoint became disabled (false). At the end the cause was obvious, but I still lose precious time.