Getting 5xx errors with your Amazon Simple Storage Service (Amazon S3) operations? For information on the Amazon S3 HTTP status codes, error codes and their description, see Error responses. Review this list of handpicked curated resources to identify the root cause and troubleshooting instructions based on your use case.
Types of 5xx status errors
AmazonS3Exception: Internal Error (Service: Amazon S3; Status Code: 500; Error Code: 500 Internal Error; Request ID: A4DBBEXAMPLE2C4D): The error code 500 Internal Error indicates that Amazon S3 can't handle the request at that time.
AmazonS3Exception: Slow Down (Service: Amazon S3; Status Code: 503; Error Code: 503 Slow Down; Request ID: A4DBBEXAMPLE2C4D): The error code 503 Slow Down typically indicates that the number of requests to your S3 bucket is very high.
Troubleshoot 5xx errors
Because Amazon S3 is a distributed service, a very small percentage of 5xx errors is expected during normal use of the service. All requests that return 5xx errors from Amazon S3 can be retried. This means that it's a best practice to have a fault-tolerance mechanism or to implement retry logic for any applications making requests to Amazon S3. By doing so, S3 can recover from these errors.