Why am I getting a 200 response with "InternalError" for copy requests to my Amazon S3 bucket?

Last updated: 2019-12-17

I'm trying to perform a copy operation on my Amazon Simple Storage Service (Amazon S3) bucket. However, Amazon S3 returns a response 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? 

Resolution

If you get a 200 response with "InternalError" embedded in the response, this means that an internal error occurred after the copy operation started. You might see 200 responses with "InternalError" 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" is similar to a 5xx error. To troubleshoot or avoid a 200 response with "InternalError," 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.

Did this article help you?

Anything we could improve?


Need more help?