We are using the AWS SNS for sending the push notification on the Android & iOS applications from the API created on CakePHP platform.
We have created the Application on SNS console as Development (APNS_SANDBOX).
But the push notification functionality suddenly stop working & sending the below error
Endpoint is disabled (Service: AmazonSNS; Status Code: 400; Error Code: EndpointDisabled;
When we try to enable the Endpoint from the SNS console it Enabled for the short time period and it Disabled again.
I have written in the code to enable the endpoint if it was disabled.
Please help us to resolve this issue.