Why am I getting a 200 response with "InternalError" or "SlowDown" for copy requests to my Amazon S3 bucket?
Last updated: 2020-03-06
I'm trying to perform a copy operation on my Amazon Simple Storage Service (Amazon S3) bucket. However, Amazon S3 returns a 200 response with "InternalError" or "SlowDown", similar to the following:
"AmazonS3Exception: We encountered an internal error. Please try again. (Service: Amazon S3; Status Code: 200; Error Code: InternalError; Request ID: 0EXAMPLE9AAEB265)"
How can I avoid this error?
If you get a 200 response with "InternalError" or "SlowDown" embedded in the response, then an internal error occurred after the copy operation started. You might see 200 responses with these errors when you run CopyObject, UploadPartCopy, or CompleteMultipartUpload API operations.
Note: Because a 200 response can contain an error, consider designing your application to parse the contents of the response. Then, the application can handle the success or error within the response appropriately.
A 200 response with "InternalError" or "SlowDown" is similar to a 5xx error. To troubleshoot or avoid a 200 response with "InternalError or "SlowDown", consider the following:
- Enable a retry mechanism in the application that's sending requests to Amazon S3.
- Configure your application to gradually increase request rates.