The Data Director API returns a subset of HTTP status codes in the response.

HTTP Status Codes

Status Code

Status Description

200 OK

The request is valid and was completed. The response includes a document body.

201 Created

The request is valid. The requested object was created and can be found at the URL specified in the Location header.

202 Accepted

The request is valid and a task was created to handle it. This response is usually accompanied by a Location header with a Task URI.

204 No Content

The request is valid and was completed. The response does not include a body.

400 Bad Request

The request body is malformed, incomplete, or otherwise invalid.

401 Unauthorized

An authorization header was expected but not found.

403 Forbidden

The requesting user does not have adequate privileges to access one or more objects specified in the request.

404 Not Found

One or more objects specified in the request could not be found in the specified container.

409 Conflict

The object state is not compatible with the requested operation.

500 Internal Server Error

The request was received but could not be completed because of an internal error at the server.