This appendix contains a listing of the error responses that may be returned by the APIs of Amazon’s S3, EC2, SQS, FPS, and SimpleDB services. These listings are drawn from the API documentation available for each service. They contain the most recent content available when this book was written.
Here is the list of error responses that may be returned by the S3 REST API version 2006-03-01.
|Error Code||Description||HTTP Response|
|AccessDenied||Access Denied.||403 Forbidden|
|AccountProblem||There is a problem with your AWS account that prevented the operation from completing successfully. Please contact customer service at firstname.lastname@example.org.||403 Forbidden|
|AmbiguousGrantByEmailAddress||The e-mail address you provided is associated with more than one account.||400 Bad Request|
|BadDigest||The Content-MD5 you specified did not match what we received.||400 Bad Request|
|BucketAlreadyExists||The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.||409 Conflict|
|BucketAlreadyOwnedByYou||Your previous request to create the named bucket succeeded, and you already own it.||409 Conflict|
|BucketNotEmpty||The bucket you tried to delete is not empty.||409 Conflict|
|CredentialsNotSupported||This request does not support credentials.||400 Bad Request|
|CrossLocationLoggingProhibited||Cross location logging not allowed. Buckets in one geographic location cannot log information to a bucket in another ...|