Responses
Successful response
If there are no errors, Object Storage returns a 2xx HTTP code. The response code and body depend on the request and are given in the request descriptions.
Error response
In case of an error, Object Storage returns a message with the appropriate HTTP code and its additional description in XML format.
<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>NoSuchKey</Code>
<Message>The resource you requested does not exist</Message>
<Resource>/mybucket/myfoto.jpg</Resource>
<RequestId>4442587FB7D0A2F9</RequestId>
</Error>
Tag | Description |
---|---|
Code |
Error code. A list of codes is given below. |
Message |
Error description in English. |
RequestId |
ID of the request that caused an error. Same as the X-Amz-Request-Id header value. |
Resource |
The bucket or object that led to the error. |
Error codes
HTTP |
Error code |
Description |
301 |
|
The specified bucket should always be accessed using the address specified in the response. |
307 |
|
The specified bucket should be temporarily accessed using the address specified in the response. |
307 |
|
Redirect while the DNS is being updated. |
400 |
|
The hash provided in the |
400 |
|
After uploading the object, the quota will be exceeded. Request a quota increase |
400 |
|
Credentials are not supported. |
400 |
|
The uploaded object is smaller than the minimum allowed size. |
400 |
|
The uploaded object is larger than the maximum allowed size. |
400 |
|
The provided token is expired. |
400 |
|
The size of the sent data is smaller than specified in the |
400 |
|
The POST method requires only one file to be sent. |
400 |
|
The request data exceeds the maximum allowed size. |
400 |
|
The hash provided in the Content-MD5 header is invalid. |
400 |
|
Invalid argument. |
400 |
|
Invalid bucket name. |
400 |
|
One or more parts of a multipart upload are not found. Make sure the list is correct. The missing parts may not have been uploaded. |
400 |
|
The list of parts of a multipart upload is incorrect. The parts must be sorted by number in ascending order. |
400 |
|
Use AWS4-HMAC-SHA256. |
400 |
|
Attempt to exceed the maximum bucket size. |
400 |
|
Invalid storage class. |
400 |
|
The bucket does not exist, or you are not the bucket owner, or the log delivery group does not have sufficient permissions. |
400 |
|
The token is malformed or otherwise invalid. |
400 |
|
Failed to parse the provided URI. |
400 |
|
The key is too long. |
400 |
|
The provided XML document is malformed or does not match the schema. |
400 |
|
The body of the request does not match the |
400 |
|
The provided XML document is malformed or does not match the schema. |
400 |
|
The maximum allowed request length is exceeded. |
400 |
|
The HTTP message header exceeded the allowed size. |
400 |
|
The metadata headers exceed the allowed size. |
400 |
|
The request body is empty. |
400 |
|
The required header is missing. |
400 |
|
Key logging status is missing. |
400 |
|
The request must contain |
400 |
|
Read/write timeout. |
400 |
|
Refresh the token. |
400 |
|
After creating the object, the quota will be exceeded. Request a quota increase |
400 |
|
There should be no content in the request. |
400 |
|
Unregistered email. |
400 |
|
The request must contain the header specified in the error description. |
403 |
|
Access denied. |
403 |
|
Account problem preventing successful completion of the operation. |
403 |
|
Unknown key. |
403 |
|
The request cannot be run for the current state of the object. |
403 |
|
Access to the object is blocked. |
403 |
|
The provided secret keys are invalid. |
403 |
|
Use of Object Storage is not allowed for this account. |
403 |
|
The difference between request send time and server time is too great. |
403 |
|
The provided request signature does not match the one calculated by Object Storage. |
404 |
|
The specified bucket does not exist. |
404 |
|
The specified key does not exist. |
404 |
|
The specified multipart upload does not exist. |
404 |
|
The specified bucket has no labels assigned. |
405 |
|
The HTTP method is not allowed for the specified resource. |
409 |
|
A bucket with the same name already exists. Choose a different name. |
409 |
|
The bucket you are deleting is not empty. |
409 |
|
The request cannot be run for the current state of the bucket. |
409 |
|
Conflicting conditional operations. |
411 |
|
Add |
412 |
|
One of the conditions specified in the request is not met. |
416 |
|
Invalid range in the |
429 |
|
Too many requests to Object Storage. Reduce the request rate. |
500 |
|
Object Storage internal error. Repeat the request. |
501 |
|
The provided header is not processed by Object Storage. |
503 |
|
Object Storage is not available. |
|