Error Codes

When you call any of the REST API for Oracle? Communications Session Delivery Manager resources, the Response header returns one of the standard HTTP/HTTPS error codes that appear in the message and defined in the following table:

HTTP Status Code Description
400 (Bad Request)

The server cannot or does not process the request because it contains missing or invalid information, which is due to something that is perceived by the server to be a client error. For example, this can be malformed request syntax, invalid request message framing, deceptive request routing, validation error on an input field, a missing required value, and so on.

401 (Unauthorized) The request is not authorized. The authentication credentials included with this request are missing or invalid.

Similar to 403, this response is used when authentication (login) is required and has failed (invalid user or password, or both) or has not yet been provided, or the request has no valid session ID. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource.

403 (Forbidden) The user cannot be authenticated. The user does not have authorization to perform this request.

The request was a valid request, but the server is refusing to respond to it. Unlike a 401 response, authenticating makes no difference. The user is forbidden access to the resource or operation on the resource due to insufficient privileges.

404 (Not Found) The request includes a resource URI that does not currently exist because it cannot be found or it was deleted, but may be available again in the future. Subsequent requests by the client are permissible.
405 (Method Not Allowed) The HTTP verb (DELETE, GET, POST, or PUT) specified in the URI request made of a resource is not supported by that resource; for example, using GET on a form which requires data to be presented through POST, or using PUT on a read-only resource.
500 (Internal Server Error) The server encountered an unexpected condition that prevented it from fulfilling the request.