Status Codes
A call to any of the REST endpoints of Oracle Cloud Infrastructure Object Storage Classic - Standard Storage returns one of the following HTTP status codes:
Note:
For more information about the error codes and the steps to recover from the errors, see Error Code Reference in Using Oracle Cloud Infrastructure Object Storage Classic.Status Code | Returned for Method | Description |
---|---|---|
200 |
GET /auth/v1.0/ |
User was authenticated |
200 |
GET /info |
API information was retrieved |
200 |
GET /v1/{account} |
Containers in the account were retrieved |
200 |
GET /v1/{account}/{container} |
List of objects in the container were retrieved |
200 |
GET /v1/{account}/{container}/{object} |
Object was retrieved |
200 |
HEAD /v1/{account}/{container}/{object} |
Object metadata was retrieved |
201 |
PUT /v1/{account}/{container} |
Container was created |
201 |
PUT /v1/{account}/{container}/{object} |
Object was created |
202 |
PUT /v1/{account}/{container} |
Container was updated |
202 |
POST /v1/{account}/{container}/{object} |
Object metadata was created or updated |
204 |
POST /v1/{account} |
Account metadata was created, updated, or deleted |
204 |
GET /v1/{account} |
No containers exist in the account |
204 |
HEAD /v1/{account} |
Account metadata was retrieved |
204 |
PUT /v1/{account}/{container} |
Container was updated |
204 |
POST /v1/{account}/{container} |
Container metadata was created, updated, or deleted |
204 |
DELETE /v1/{account}/{container} |
Container was deleted |
204 |
DELETE /v1/{account}/{container}/{object} |
Object was deleted |
204 |
HEAD /v1/{account}/{container} |
Container metadata was retrieved |
204 |
GET /v1/{account}/{container} |
No objects in the container |
206 | GET /v1/{account}/{container}/{object} | Partial content retrieved. The server is delivering only part of the resource (byte serving) due to a range header sent by the client. |
401 |
Any method |
Unauthorized |
403 | Any method | Forbidden |
404 |
Any method |
The specified container or object doesn't exist, or has just been created and hasn't been replicated across all three nodes. |
408 |
PUT /v1/{account}/{container}/{object} |
Request timed out |
409 |
DELETE /v1/{account}/{container} |
Container exists, but isn't empty |
411 |
PUT /v1/{account}/{container}/{object} |
Request doesn't include either the |
413 |
POST /v1/{account}/{container} |
Maximum container size or maximum per-container object count was exceeded |
416 |
GET /v1/{account}/{container} |
Invalid range specified |
416 |
GET /v1/{account}/{container}/{object} |
Invalid range specified |
422 |
PUT /v1/{account}/{container}/{object} |
MD5 checksum of the data that is written to the object store doesn't match the optional |