Code |
HTTP definition |
Description |
200 |
Success |
Everything worked as expected.
|
201 |
Created |
The item was created.
|
204 |
No Content |
Returned for PUT , POST , or DELETE requests when you should not expect a response body to be returned.
|
304 |
Nor Modified |
Returned for conditional GET requests when nothing has changed since the previous request.
|
400 |
Bad Request |
The request was not understood by the server, often due to incorrect syntax or parameters. More information can often be found in the error details section of the response body.
|
401 |
Unauthorized |
Your request did not have valid authentication credentials. This usually means that the Authorization header was not formatted correctly.
|
403 |
Forbidden |
Your request had valid authentication credentials, but those credentials are not allowed to complete the requested operation. This usually means that the system account you are using needs to be authorized in COS for the resource or operation.
|
404 |
Not Found |
The resource you requested does not exist.
|
409 |
Conflict |
Your request failed due to a conflict with the current state of the resource. See the documentation for the specific API and the response body for more information.
|
412 |
Precondition Failed |
Your request contained preconditions that were not met. See the documentation for the specific API and the response body for more information.
|
422 |
Unprocessable Entity |
The content type and syntax of the request are correct, but the server was unable to process the instructions. See the documentation for the specific API and the response body for more information.
|
429 |
Too Many Requests |
Your requests are coming too often, or the server is under a heavy load. Try the request again later. If the API continues to return this error, consider implementing exponential backoff.
|
500 |
Internal Server Error |
An error occurred on our end. Try the request again later.
|