Status Codes

When you call any of the Session Border Controller (SBC) REST operations, the response returns one of the standard HTTP status codes defined in the following table.

HTTP Status Code Description
200 OK The request was completed successfully A 200 status is returned for a successful GET or POST method.
202 Accepted The request was accepted for processing, but the processing has not been completed.

The response contains a <link> element whose value is a job resource that the client should poll to determine when the job has finished.

204 No Content The request was fulfilled but the resource did not return a response body.
400 Bad Request The request could not be processed because it contains missing or invalid information (such as a validation error on a parameter or a missing required value).
401 Unauthorized The request is not authorized. The authentication credentials included with this request are missing or invalid.
403 Forbidden The server understood the request but refuses to authorize it.
404 Not Found The request includes a resource URI that does not exist.
405 Method Not Allowed The HTTP verb specified in the request (DELETE, GET, POST, PUT) is not supported for this request URI.
406 Not Acceptable The resource identified by this request is not capable of generating a representation corresponding to one of the media types in the Accept header of the request. For example, the request's Accept header is set to JSON but the operation only returns XML.
415 Unsupported Media Type The client's Content-Type header is not correct (for example, the client attempts to send the request in XML, but the resource can only accept JSON).
423 Locked The destination resource is locked. See Quick Start for acquiring the lock.
426 Upgrade Required The client attempted to communicate over HTTP, but all requests must use HTTPS. See Enable HTTPS for details on setting up encrypted communications.
500 Internal Server Error The server encountered an unexpected condition that prevented it from fulfilling the request.
503 Service Unavailable The server is unable to handle the request due to temporary overloading or maintenance of the server. The SBC REST service is not currently running.