1.6 Error information
If an API is executed and results in an error, it returns a response described in “(Table) Status codes returned by the API”. Depending on the error that occurs, it might return a response in response format (e.g., HTML) or with response content not listed here. If a response not listed is returned, review your request, referring to the status code and message content.
(Table) Status codes returned by the API
| Status code | Description |
|---|---|
| 400 | When there is incorrect JSON syntax in the request body |
| When the request body is different from the object being requested | |
| When there is an error in the value specified in the request body | |
| 401 | When the Ops I token has an invalid value |
| 403 | When the user is not given permission to execute the API request |
| When the API path is incorrectly specified | |
| 404 | When the specified object does not exist |
| Other than the above | As it varies by API, see "Standard API functions" or "Custom API functions". |