NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Namespace Aws\S3\Exception

## Namespaces summary

Aws\S3\Exception\Parser

## Exceptions summary

AccessDeniedException | Access Denied
AccountProblemException | There is a problem with your AWS account that prevents the operation from completing successfully. Please use Contact Us.
AmbiguousGrantByEmailAddressException | The e-mail address you provided is associated with more than one account.
BadDigestException | The Content-MD5 you specified did not match what we received.
BucketAlreadyExistsException | 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.
BucketAlreadyOwnedByYouException | Your previous request to create the named bucket succeeded and you already own it.
BucketNotEmptyException | The bucket you tried to delete is not empty.
CredentialsNotSupportedException | This request does not support credentials.
CrossLocationLoggingProhibitedException | Cross location logging not allowed. Buckets in one geographic location cannot log information to a bucket in another location.
DeleteMultipleObjectsException | Exception thrown when errors occur in a DeleteMultipleObjects request
EntityTooLargeException | Your proposed upload exceeds the maximum allowed object size.
EntityTooSmallException | Your proposed upload is smaller than the minimum allowed object size.
ExpiredTokenException | The provided token has expired.
IllegalVersioningConfigurationException | Indicates that the Versioning configuration specified in the request is invalid.
IncompleteBodyException | You did not provide the number of bytes specified by the Content-Length HTTP header
IncorrectNumberOfFilesInPostRequestException | POST requires exactly one file upload per request.
InlineDataTooLargeException | Inline data exceeds the maximum allowed size.
InternalErrorException | We encountered an internal error. Please try again.
InvalidAccessKeyIdException | The AWS Access Key Id you provided does not exist in our records.
InvalidAddressingHeaderException | You must specify the Anonymous role.
InvalidArgumentException | Invalid Argument
InvalidBucketNameException | The specified bucket is not valid.
InvalidBucketStateException | The request is not valid with the current state of the bucket.
InvalidDigestException | The Content-MD5 you specified was an invalid.
InvalidLocationConstraintException | The specified location constraint is not valid. For more information about Regions, see How to Select a Region for Your Buckets.
InvalidPartException | One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag.
InvalidPartOrderException | The list of parts was not in ascending order.Parts list must specified in order by part number.
InvalidPayerException | All access to this object has been disabled.
InvalidPolicyDocumentException | The content of the form does not meet the conditions specified in the policy document.
InvalidRangeException | The requested range cannot be satisfied.
InvalidRequestException | SOAP requests must be made over an HTTPS connection.
InvalidSecurityException | The provided security credentials are not valid.
InvalidSOAPRequestException | The SOAP request body is invalid.
InvalidStorageClassException | The storage class you specified is not valid.
InvalidTagErrorException | The Tag provided was not a valid tag. This can occur if the Tag did not pass input validation. See the CostAllocation docs for a description of valid tags.
InvalidTargetBucketForLoggingException | The target bucket for logging does not exist, is not owned by you, or does not have the appropriate grants for the log-delivery group.
InvalidTokenException | The provided token is malformed or otherwise invalid.
InvalidURIException | Couldn't parse the specified URI.
KeyTooLongException | Your key is too long.
MalformedACLErrorException | The XML you provided was not well-formed or did not validate against our published schema.
MalformedPOSTRequestException | The body of your POST request is not well-formed multipart/form-data.
MalformedXMLException | This happens when the user sends a malformed xml (xml that doesn't conform to the published xsd) for the configuration. The error message is, "The XML you provided was not well-formed or did not validate against our published schema."
MaxMessageLengthExceededException | Your request was too big.
MaxPostPreDataLengthExceededErrorException | Your POST request fields preceding the upload file were too large.
MetadataTooLargeException | Your metadata headers exceed the maximum allowed metadata size.
MethodNotAllowedException | The specified method is not allowed against this resource.
MissingAttachmentException | A SOAP attachment was expected, but none were found.
MissingContentLengthException | You must provide the Content-Length HTTP header.
MissingRequestBodyErrorException | This happens when the user sends an empty xml document as a request. The error message is, "Request body is empty."
MissingSecurityElementException | The SOAP 1.1 request is missing a security element.
MissingSecurityHeaderException | Your request was missing a required header.
NoLoggingStatusForKeyException | There is no such thing as a logging status sub-resource for a key.
NoSuchBucketException | The specified bucket does not exist.
NoSuchBucketPolicyException | The specified bucket policy does not exist.
NoSuchCORSConfigurationException | The specified bucket does not have a CORs configuration.
NoSuchKeyException | The specified key does not exist.
NoSuchLifecycleConfigurationException | The lifecycle configuration does not exist.
NoSuchTagSetException | There is no TagSet associated with the bucket.
NoSuchUploadException | The specified multipart upload does not exist.
NoSuchVersionException | Indicates that the version ID specified in the request does not match an existing version.
NoSuchWebsiteConfigurationException | The specified bucket does not have a website configuration.
NotImplementedException | A header you provided implies functionality that is not implemented.
NotSignedUpException | Your 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/s3
NotSuchBucketPolicyException | The specified bucket does not have a bucket policy.
ObjectAlreadyInActiveTierErrorException | This operation is not allowed against this storage tier
ObjectNotInActiveTierErrorException | The source object of the COPY operation is not in the active tier and is only stored in Amazon Glacier.
OperationAbortedException | A conflicting conditional operation is currently in progress against this resource. Please try again.
PermanentRedirectException | The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
PreconditionFailedException | At least one of the preconditions you specified did not hold.
RedirectException | Temporary redirect.
RequestIsNotMultiPartContentException | Bucket POST must be of the enclosure-type multipart/form-data.
RequestTimeoutException | Your socket connection to the server was not read from or written to within the timeout period.
RequestTimeTooSkewedException | The difference between the request time and the server's time is too large.
RequestTorrentOfBucketErrorException | Requesting the torrent file of a bucket is not permitted.
S3Exception | Default service exception class
ServiceUnavailableException | Please reduce your request rate.
SignatureDoesNotMatchException | The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. For more information, see REST Authentication and SOAP Authentication for details.
SlowDownException | Please reduce your request rate.
TemporaryRedirectException | You are being redirected to the bucket while DNS updates.
TokenRefreshRequiredException | The provided token must be refreshed.
TooManyBucketsException | You have attempted to create more buckets than allowed.
UnexpectedContentException | This request does not support content.
UnresolvableGrantByEmailAddressException | The e-mail address you provided does not match any account on record.
UserKeyMustBeSpecifiedException | The bucket POST must contain the specified field name. If it is specified, please check the order of the fields.