List of Error Codes

Following is a table that lists the Amazon S3 Error Codes.

Error CodeDescriptionHTTP Status CodeSOAP Fault Code Prefix
AccessDeniedAccess Denied403 ForbiddenClient
AccountProblemThere is a problem with your AWS account that prevents the operation from completing successfully. Please contact customer service at webservices@amazon.com.403 ForbiddenClient
AmbiguousGrantByEmailAddressThe e-mail address you provided is associated with more than one account.400 Bad RequestClient
BadDigestThe Content-MD5 you specified did not match what we received.400 Bad RequestClient
BucketAlreadyExistsThe 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 ConflictClient
BucketAlreadyOwnedByYouYour previous request to create the named bucket succeeded and you already own it.409 ConflictClient
BucketNotEmptyThe bucket you tried to delete is not empty.409 ConflictClient
CredentialsNotSupportedThis request does not support credentials.400 Bad RequestClient
CrossLocationLoggingProhibitedCross location logging not allowed. Buckets in one geographic location cannot log information to a bucket in another location.403 ForbiddenClient
EntityTooSmallYour proposed upload is smaller than the minimum allowed object size.400 Bad RequestClient
EntityTooLargeYour proposed upload exceeds the maximum allowed object size.400 Bad RequestClient
ExpiredTokenThe provided token has expired.400 Bad RequestClient
IncompleteBodyYou did not provide the number of bytes specified by the Content-Length HTTP header400 Bad RequestClient
IncorrectNumberOfFilesInPostRequestPOST requires exactly one file upload per request.400 Bad RequestClient
InlineDataTooLargeInline data exceeds the maximum allowed size.400 Bad RequestClient
InternalErrorWe encountered an internal error. Please try again.500 Internal Server ErrorServer
InvalidAccessKeyIdThe AWS Access Key Id you provided does not exist in our records.403 ForbiddenClient
InvalidAddressingHeaderYou must specify the Anonymous role.N/AClient
InvalidArgumentInvalid Argument400 Bad RequestClient
InvalidBucketNameThe specified bucket is not valid.400 Bad RequestClient
InvalidDigestThe Content-MD5 you specified was an invalid.400 Bad RequestClient
InvalidLocationConstraintThe specified location constraint is not valid.400 Bad RequestClient
InvalidPayerAll access to this object has been disabled.403 ForbiddenClient
InvalidPolicyDocumentThe content of the form does not meet the conditions specified in the policy document.400 Bad RequestClient
InvalidRangeThe requested range cannot be satisfied.416 Requested Range Not SatisfiableClient
InvalidSecurityThe provided security credentials are not valid.403 ForbiddenClient
InvalidSOAPRequestThe SOAP request body is invalid.400 Bad RequestClient
InvalidStorageClassThe storage class you specified is not valid.400 Bad RequestClient
InvalidTargetBucketForLoggingThe target bucket for logging does not exist, is not owned by you, or does not have the appropriate grants for the log-delivery group. 400 Bad RequestClient
InvalidTokenThe provided token is malformed or otherwise invalid.400 Bad RequestClient
InvalidURICouldn't parse the specified URI.400 Bad RequestClient
KeyTooLongYour key is too long.400 Bad RequestClient
MalformedACLErrorThe XML you provided was not well-formed or did not validate against our published schema.400 Bad RequestClient
MalformedXMLThe XML you provided was not well-formed or did not validate against our published schema.400 Bad RequestClient
MaxMessageLengthExceededYour request was too big.400 Bad RequestClient
MaxPostPreDataLengthExceededErrorYour POST request fields preceding the upload file were too large.400 Bad RequestClient
MetadataTooLargeYour metadata headers exceed the maximum allowed metadata size.400 Bad RequestClient
MethodNotAllowedThe specified method is not allowed against this resource.405 Method Not AllowedClient
MissingAttachmentA SOAP attachment was expected, but none were found.N/AClient
MissingContentLengthYou must provide the Content-Length HTTP header.411 Length RequiredClient
MissingSecurityElementThe SOAP 1.1 request is missing a security element.400 Bad RequestClient
MissingSecurityHeaderYour request was missing a required header.400 Bad RequestClient
NoLoggingStatusForKeyThere is no such thing as a logging status sub-resource for a key.400 Bad RequestClient
NoSuchBucketThe specified bucket does not exist.404 Not FoundClient
NoSuchKeyThe specified key does not exist.404 Not FoundClient
NotImplementedA header you provided implies functionality that is not implemented.501 Not ImplementedServer
NotSignedUpYour account is not signed up for the Amazon S3 service. You must sign up before you can use Amazon S3. You can sign up at the following URL: http://aws.amazon.com/s3403 ForbiddenClient
OperationAbortedA conflicting conditional operation is currently in progress against this resource. Please try again.409 ConflictClient
PermanentRedirectThe bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.301 Moved PermanentlyClient
PreconditionFailedAt least one of the pre-conditions you specified did not hold.412 Precondition FailedClient
RedirectTemporary redirect.307 Moved TemporarilyClient
RequestIsNotMultiPartContentBucket POST must be of the enclosure-type multipart/form-data.400 Bad RequestClient
RequestTimeoutYour socket connection to the server was not read from or written to within the timeout period.400 Bad RequestClient
RequestTimeTooSkewedThe difference between the request time and the server's time is too large.403 ForbiddenClient
RequestTorrentOfBucketErrorRequesting the torrent file of a bucket is not permitted.400 Bad RequestClient
SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. For more information, see Authenticating REST Requests and Authenticating SOAP Requests for details.403 ForbiddenClient
SlowDownPlease reduce your request rate.503 Service UnavailableServer
TemporaryRedirectYou are being redirected to the bucket while DNS updates.307 Moved TemporarilyClient
TokenRefreshRequiredThe provided token must be refreshed.400 Bad RequestClient
TooManyBucketsYou have attempted to create more buckets than allowed.400 Bad RequestClient
UnexpectedContentThis request does not support content.400 Bad RequestClient
UnresolvableGrantByEmailAddressThe e-mail address you provided does not match any account on record.400 Bad RequestClient
UserKeyMustBeSpecifiedThe bucket POST must contain the specified field name. If it is specified, please check the order of the fields.400 Bad RequestClient