Status Codes

A call to any of the REST endpoints of Oracle Cloud Infrastructure Object Storage Classic - Archive 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 /v0/{account}/{container}?jobs

Status of the restoration job was retrieved

200

GET /v1/{account}/{container}/{object}

Object was retrieved

200

HEAD /v1/{account}/{container}/{object}

Object metadata was retrieved

200

POST /v0/{account}/{container}/{object}?restore

Object has been restored or is being 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

202

POST /v0/{account}/{container}/{object}?restore

Object is being retrieved

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

400

GET /v1/{account}/{container}/{object}

The object is in a container of the archive storage class, but hasn't been restored yet.

400

POST /v0/{account}/{container}/{object}?restore

The object you're trying to restore isn't in a container of the archive storage class

400

PUT /v1/{account}/{container}

Invalid storage class specified

401

Any method

Unauthorized

403

Any method

Forbidden

404

Any method

The specified resource doesn't exist

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 Transfer-Encoding or Content-Length header

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 ETag value