Status Codes
When you call any of the REST API operations for AI and ML services, the response returns one of the standard HTTP/HTTPS status codes defined in the following table:
| HTTP Status Code | Description |
|---|---|
200 OK |
The request was completed successfully. |
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 must be added or validated. |
403 Forbidden |
The user can't be authenticated. The user does not have authorization to perform this request. |
404 Not Found |
The request includes a resource URI that does not exist. |
405 Method Not Allowed |
The HTTP method specified in the request ( |
409 Conflict |
The request can't be completed due to a conflict with the current state of the target resource. |
500 Internal Server Error |
The server encountered an unexpected condition that prevented it from fulfilling the request. |
501 Not Implemented |
The server either does not recognize the request method or is unable to process the request. |
503 Service Unavailable |
The server is not available at the moment because it is either overloaded or experiencing downtime. |