Skip to content

How do I resolve Amazon SNS HTTP 500 or 503 status code errors?

1 minute read
0

I ran an Amazon Simple Notification Service (Amazon SNS) API action and received an HTTP 500 or HTTP 503 status code error.

Resolution

Use a retry mechanism

A 500 or 503 status code error indicates a server-side issue. To resolve this error, build retry logic in your applications for requests that failed. AWS SDKs have a built-in retry mechanism.

Check the service status

If you receive 500 or 503 status code errors after you use a retry mechanism, then check the AWS Service Health Dashboard. Check whether there are operational issues with Amazon SNS. If the AWS Service Health Dashboard doesn't show the errors that you received, then contact AWS Support.

Make sure that you provide the following information:

  • The time that the issue occurred.
  • Three to five AWS Request IDs for the API requests generated 500 or 502 status code errors, the timestamp, and time zone.
  • Approximate percentage of requests that failed from total requests.

Related information

Common errors