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 triggered the error.> Equals 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 returned in the response. |
307 |
|
The specified bucket should temporarily be accessed using the address returned 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 size of an uploaded object is smaller than the minimum allowed size. |
400 |
|
The size of an uploaded object is greater than the maximum allowed size. |
400 |
|
The token provided is expired. |
400 |
|
The sent data is smaller in size than stated in the |
400 |
|
The POST method only requires one file to be sent. |
400 |
|
The request data exceeds the maximum allowed size. |
400 |
|
The hash passed in the Content-MD5 header isn't valid. |
400 |
|
The argument is invalid. |
400 |
|
The name of the bucket is invalid. |
400 |
|
One or more parts of a multipart upload were 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 |
|
The storage class is invalid. |
400 |
|
The bucket does not exist, or you are not the owner of the bucket, or the log delivery group does not have sufficient permissions. |
400 |
|
The token is malformed or otherwise invalid. |
400 |
|
Failed to parse the passed URI. |
400 |
|
The key is too long. |
400 |
|
The provided XML document is malformed or does not match the schema. |
400 |
|
The request body does not match the |
400 |
|
The provided XML document is malformed or doesn't match the schema. |
400 |
|
The maximum allowed request length is exceeded. |
400 |
|
The HTTP message header exceeded the allowed length. |
400 |
|
The metadata headers exceed the allowed size. |
400 |
|
The request body is empty. |
400 |
|
The required header is missing. |
400 |
|
There is no logging status for the key. |
400 |
|
The request must contain data of the |
400 |
|
A read/write timeout. |
400 |
|
Refresh your 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 |
|
The email address provided doesn't match any recorded account. |
400 |
|
The request must contain the header specified in the error description. |
403 |
|
Access is denied. |
403 |
|
There is an account problem preventing successful completion of the operation. |
403 |
|
Unknown key. |
403 |
|
The request cannot be executed for the current state of the object. |
403 |
|
Access to the object is blocked. |
403 |
|
The provided secret keys are not valid. |
403 |
|
This account is not allowed to use Object Storage. |
403 |
|
The difference between the request sending time and the time on the server is too big. |
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 does not have any tag 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 trying to delete is not empty. |
409 |
|
The request cannot be executed for the current state of the object. |
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 |
|
Internal error in Object Storage. Repeat the request. |
501 |
|
The provided header is not processed by Object Storage. |
503 |
|
Object Storage is not available. |
503 |
|
Reduce your request rate. |