Appendix B. AWS API Error Codes
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.
S3: Simple Storage Service
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 webservices@amazon.com. | 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 ... |
Get Programming Amazon Web Services now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.