I have setup my Android and iOS app to be able to receive notifications via SNS. The setup is working fine and the device do receive the notifications. But later on, the notification starts to fail.
I have already enabled logging for both success and failure scenarios. And according to the logs, I keep receiving errors of the form: "Endpoint is disabled:arn:aws:sns:myRegion:myAccount:endpoint/GCM/myApp/myDeviceEndpointHash"
I know the error means that the endpoint is disabled. Also, I am aware of the methods of re-enabling the endpoint via console and API.
My question is why this keeps on happening. This is happening with 99% of the device I am pushing the notifications to. Thanks in advance.
After a long conversation with the AWS support team, there were a couple of things that surfaced.
Now, what to do? The solution has two parts:
This second step has a lot of work involved, both on server and device side. In the end, we decided not to implement it since it does not happen for majority of users and the work involved could not be justified.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With