AWS SNS EndPoint disabled when publishing

Norolim picture Norolim · Jul 28, 2015 · Viewed 11k times · Source

So im using AWS SNS to send push notifications to apple devices.

I've followed the following steps:

  • Created an app ID
  • Created a APNs Production iOS certificate
  • Created .p12 certificate to use in AWS SNS
  • Created AWS SNS Application
  • Config in iOS App (It works. I get deviceToken and creates an EndPoint to AWSSNS App)

When i publish a message to that EndPoint: Message publishe with request... But the notification never appears on the device. Then i check the endpoint and Enabled = false

Hope anyone can help. Thanks.

Answer

Yosuke Matsuda picture Yosuke Matsuda · Jul 29, 2015

On Amazon SNS AWS Management Console, select Applications > your application > Actions > Configure events. Here you can set up an Amazon SNS topic for Delivery failure. You should take a look at the error published to the topic. It should give you why it is failing and possibly a solution for how to fix it.

See Amazon SNS Documentation for more details.