Each response to a request contains an HTTP status code. The APIs return one of the following status codes:
| Response | Status Code | Description |
|---|---|---|
OK
|
200 | The request was valid and results were found. |
ZERO_RESULTS
|
200 | The request was valid but no results were found. |
INVALID_REQUEST
|
400 | Invalid information was encountered in the request. |
INVALID_CLIENT_INPUT
|
400 | Request body or parameter format is not correct. |
INVALID_TOKEN
|
401 | Invalid Token was encountered. |
UNAUTHORIZED
|
401 | Unauthorized request encountered. |
FORBIDDEN |
403 | Forbidden - User lacks the necessary permissions. |
TOO MANY REQUESTS |
429 | Too Many Requests - Rate limit exceeded. |
INTERNAL_ERROR
|
500 | An internal error occurred. |
SERVICE_UNAVAILABLE
|
503 | Service is not available to serve the request. |