• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. Developer Guide (PHP SDK)
  4. Troubleshooting
  5. OBS Server-Side Error Codes

OBS Server-Side Error Codes

If the OBS server encounters an error when processing a request, a response containing the error code and error description is returned. The following table lists details about each error code and HTTP status code.

Error Code

Description

HTTP Status Code

AccessDenied

Access denied.

403 Forbidden

AccessForbidden

Insufficient permission.

403 Forbidden

AccountProblem

Your account encounters a problem that prevents the operation from completing. The account may be expired or frozen.

403 Forbidden

AllAccessDisabled

You have no permission to perform the operation.

403 Forbidden

AmbiguousGrantByEmailAddress

Multiple accounts share one email address.

400 Bad Request

BadDigest

The specified value of Content-MD5 does not match the value received by OBS.

400 Bad Request

BadDomainName

Invalid domain name.

400 Bad Request

BadRequest

Invalid request parameters.

400 Bad Request

BucketAlreadyExists

The requested bucket name already exists. The bucket namespace is shared by all users of OBS. Select another name and retry.

409 Conflict

BucketAlreadyOwnedByYou

Your previous request for creating the named bucket succeeded and you already own it.

409 Conflict

BucketNotEmpty

The bucket that you tried to delete is not empty.

409 Conflict

CredentialsNotSupported

This request does not support security credentials.

400 Bad Request

CustomDomainAreadyExist

The configured domain already exists.

400 Bad Request

CustomDomainNotExist

The domain to be operated does not exist.

400 Bad Request

DeregisterUserId

The user has been deregistered.

403 Forbidden

EntityTooSmall

The size of the object to be uploaded is smaller than the lower limit.

400 Bad Request

EntityTooLarge

The size of the object to be uploaded has exceeded the upper limit.

400 Bad Request

FrozenUserId

The user has been frozen.

403 Forbidden

IllegalVersioningConfiguration Exception

The Versioning configuration specified in the request is invalid.

400 Bad Request

IllegalLocationConstraintException

The configured region limitation is inconsistent with the region where it resides.

400 Bad Request

InArrearOrInsufficientBalance

The user has no permission to perform some operations due to being in arrears or insufficient funds.

403 Forbidden

IncompleteBody

Incomplete request body.

400 Bad Request

IncorrectNumberOfFilesInPost Request

Each POST request must contain one file to be uploaded.

400 Bad Request

InlineDataTooLarge

The size of inline data has exceeded the upper limit.

400 Bad Request

InsufficientStorageSpace

Insufficient storage space.

403 Forbidden

InternalError

An internal error occurs. Retry later.

500 Internal Server Error

InvalidAccessKeyId

The access key ID provided by the customer does not exist in the system.

403 Forbidden

InvalidAddressingHeader

The anonymous role must be specified.

N/A

InvalidArgument

Invalid parameter.

400 Bad Request

InvalidBucketName

The specified bucket name in the request is invalid.

400 Bad Request

InvalidBucket

The bucket to be accessed does not exist.

400 Bad Request

InvalidBucketState

Invalid bucket status.

409 Conflict

InvalidBucketStoragePolicy

An invalid new policy is specified during bucket policy modification.

400 Bad Request

InvalidDigest

The specified Content-MD5 in the HTTP header is invalid.

400 Bad Request

InvalidEncryptionAlgorithmError

Incorrect encryption algorithm.

400 Bad Request

InvalidLocationConstraint

The location specified during bucket creation is invalid.

400 Bad Request

InvalidPart

One or more specified parts are not found. The parts may not be uploaded or the specified entity tags (ETags) do not match the parts' ETags.

400 Bad Request

InvalidPartOrder

Parts are not listed in ascending order by part number.

400 Bad Request

InvalidPayer

All accesses to this object are disabled.

403 Forbidden

InvalidPolicyDocument

The content of the form does not meet the conditions specified in the policy document.

400 Bad Request

InvalidRange

The requested range cannot be obtained.

416 Client Requested Range Not Satisfiable

InvalidRedirectLocation

Invalid redirect location.

400 Bad Request

InvalidRequest

Invalid request.

400 Bad Request

InvalidRequestBody

Invalid POST request body.

400 Bad Request

InvalidSecurity

Invalid security credentials.

403 Forbidden

InvalidStorageClass

Invalid storage class.

400 Bad Request

InvalidTargetBucketForLogging

The delivery group has no ACL permission for the target bucket.

400 Bad Request

InvalidURI

The specified URI cannot be resolved.

400 Bad Request

KeyTooLong

The provided key is too long.

400 Bad Request

MalformedACLError

The provided XML file is in an incorrect format or does not meet format requirements.

400 Bad Request

MalformedError

The XML format in the request is incorrect.

400 Bad Request

MalformedLoggingStatus

The XML format of Logging is incorrect.

400 Bad Request

MalformedPolicy

The bucket policy failed the check.

400 Bad Request

MalformedPOSTRequest

The body of the POST request is in an incorrect format.

400 Bad Request

MalformedQuotaError

The Quota XML format is incorrect.

400 Bad Request

MalformedXML

This error code is returned after you send an XML file in incorrect format, stating "The XML you provided was not well-formed or did not validate against our published schema."

400 Bad Request

MaxMessageLengthExceeded

The request is too long.

400 Bad Request

MaxPostPreDataLengthExceeded Error

The POST request fields prior to the file to be uploaded are too large.

400 Bad Request

MetadataTooLarge

The size of the metadata header has exceeded the upper limit.

400 Bad Request

MethodNotAllowed

The specified method is not allowed against the requested resource.

405 Method Not Allowed

MissingContentLength

The HTTP header Content-Length is not provided.

411 Length Required

MissingRegion

No region contained in the request and no default region defined in the system.

400 Bad Request

MissingRequestBodyError

This error code is returned after you send an empty XML file, stating "Request body is empty."

400 Bad Request

MissingRequiredHeader

Required headers missing in the request.

400 Bad Request

MissingSecurityHeader

A required header is not provided.

400 Bad Request

NoSuchBucket

The specified bucket does not exist.

404 Not Found

NoSuchBucketPolicy

No bucket policy exists.

404 Not Found

NoSuchCORSConfiguration

No CORS configuration exists.

404 Not Found

NoSuchCustomDomain

The requested user domain does not exist.

404 Not Found

NoSuchKey

The specified key does not exist.

404 Not Found

NoSuchLifecycleConfiguration

The requested Lifecycle does not exist.

404 Not Found

NoSuchPolicy

The specified policy name does not exist.

404 Not Found

NoSuchUpload

The specified multipart upload does not exist. The upload ID does not exist or the multipart upload job has been aborted or completed.

404 Not Found

NoSuchVersion

The specified version ID does not match any existing version.

404 Not Found

NoSuchWebsiteConfiguration

The requested website does not exist.

404 Not Found

NotImplemented

The provided header implies a function that is unavailable.

501 Not Implemented

NotSignedUp

Your account is not signed up for OBS. OBS is available only after you sign up.

403 Forbidden

OperationAborted

A conflicting operation is being performed on this resource. Retry later.

409 Conflict

PermanentRedirect

The requested bucket must be addressed using a specified endpoint. Send all future requests to the endpoint.

301 Moved Permanently

PreconditionFailed

At least one of the specified preconditions is not met.

412 Precondition Failed

Redirect

The request is temporarily redirected.

307 Moved Temporarily

RequestIsNotMultiPartContent

A bucket POST request must contain an enclosure-type multipart or the form-data.

400 Bad Request

RequestTimeout

The socket connection to the server has no read or write operations within the timeout period.

400 Bad Request

RequestTimeTooSkewed

The request time and the server's time differ a lot.

403 Forbidden

RequestTorrentOfBucketError

Requesting the bucket's torrent file is not allowed.

400 Bad Request

ServiceNotImplemented

The request method is not implemented by the server.

501 Not Implemented

ServiceNotSupported

The request method is not supported by the server.

409 Conflict

ServiceUnavailable

The server is overloaded or has internal errors.

503 Service Unavailable

SignatureDoesNotMatch

The provided signature does not match the signature calculated by OBS. Check your AK/SK and signature calculation method.

403 Forbidden

SlowDown

Too frequent requests. Reduce your request frequency.

503 Service Unavailable

System Capacity Not enough

Insufficient system space.

403 Forbidden

TooManyCustomDomains

Too many user domains are configured.

400 Bad Request

TemporaryRedirect

The request is redirected to the bucket while the domain name server (DNS) is being updated.

307 Moved Temporarily

TooManyBuckets

You have attempted to create more buckets than allowed.

400 Bad Request

TooManyObjectCopied

An object has been copied for too many times, exceeding the upper limit.

400 Bad Request

TooManyWrongSignature

The request is rejected due to high-frequency errors.

400 Bad Request

UnexpectedContent

This request does not support content.

400 Bad Request

UnresolvableGrantByEmailAddress

The provided email address does not match any recorded accounts.

400 Bad Request

UserKeyMustBeSpecified

The user's AK is not carried in the request.

400 Bad Request

WebsiteRedirect

The website request lacks bucketName.

301 Moved Permanently

KMS.DisabledException

The master key is disabled in server-side encryption with KMS-managed keys (SSE-KMS) mode.

400 Bad Request

KMS.NotFoundException

The master key does not exist in SSE-KMS mode.

400 Bad Request

RestoreAlreadyInProgress

The objects are being restored. The request conflicts with another one.

409 Conflict

ObjectHasAlreadyRestored

The objects have been restored and the retention period of the objects cannot be shortened.

409 Conflict

InvalidObjectState

The restored object is not a Cold object.

403 Forbidden

InvalidTagError

An invalid tag is provided when configuring bucket tags.

400 Bad Request

NoSuchTagSet

The specified bucket is not configured with a tag.

404 Not Found