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 is abnormal (for example, being expired or frozen). | 403 Forbidden |
AllAccessDisabled | The user has no permission to perform a specific operation. | 403 Forbidden |
AmbiguousGrantByEmailAddress | The provided email address is associated with more than one account. | 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 parameter. | 400 Bad Request |
BucketAlreadyExists | The requested bucket name already exists. The bucket namespace is shared by all users of OBS. Try again with another bucket name. | 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 exceeds the limit. | 400 Bad Request |
FrozenUserId | The user has been frozen. | 403 Forbidden |
IllegalVersioningConfiguration Exception | Invalid versioning configuration in the request | 400 Bad Request |
IllegalLocationConstraintException | The configured region limitation is inconsistent with the region where it resides. | 400 Bad Request |
InArrearOrInsufficientBalance | The subscriber owes fees or the account balance is insufficient, and the subscriber does not have the permission to perform an operation. | 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 exceeds the upper limit. | 400 Bad Request |
InsufficientStorageSpace | Insufficient storage space. | 403 Forbidden |
InternalError | An internal error occurs. Try again 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 | The specified storage class is invalid. | 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 has syntax errors or does not meet the 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 does not pass. | 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 | An XML file of a configuration item is in incorrect format. The error message states: "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. The message "Specified method is not supported." is returned. | 405 Method Not Allowed |
MissingContentLength | The HTTP header Content-Length is not provided. | 411 Length Required |
MissingRegion | The region information is missing in the request, and the default region is required in the system. | 400 Bad Request |
MissingRequestBodyError | An empty XML file is sent as a request. The error message states: "Request body is empty." | 400 Bad Request |
MissingRequiredHeader | A required header is missing in the request. | 400 Bad Request |
MissingSecurityHeader | A required header is missing in the request. | 400 Bad Request |
NoSuchBucket | The 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 in the system. Sign up the account before use. | 403 Forbidden |
OperationAborted | A conflicting operation is being performed on this resource. Try again later. | 409 Conflict |
PermanentRedirect | The requested bucket has been permanently redirected to a new URL. All future requests must be sent to the new URL. | 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 | No read or write operation has been performed within the timeout period of the socket connection between the user and the server. | 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 in the request does not match the signature calculated by OBS. Check your AK and SK and signature calculation method. | 403 Forbidden |
SlowDown | 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 | The number of copies of a single object exceeds 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 fields with 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 the SSE-KMS mode. | 400 Bad Request |
KMS.NotFoundException | The customer master key (CMK) does not exist in SSE-KMS mode. | 400 Bad Request |
RestoreAlreadyInProgress | The Archive object is 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 an Archive object. | 403 Forbidden |
InvalidTagError | An invalid tag is provided when configuring the bucket tag. | 400 Bad Request |
NoSuchTagSet | The specified bucket does not have a tag. | 404 Not Found |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

