Errors
Error Codes
Code | Status | Description |
---|---|---|
MISSING_USER_AGENT | 400 | The request is missing a User-Agent header |
INVALID_REQUEST | 400 | The request is not valid |
NOT_FOUND | 404 | The resource was not found |
NOT_AUTHORIZED | 401 | You need to provide credentials to access the resource |
FORBIDDEN | 403 | You don't have permission to access the resource |
SERVER_ERROR | 500 | An unknown error occurred on the server |
RATE_LIMITED | 429 | Too many requests |
Example JSON Response
If an error has occurred the API will return an error status code and a body like the following:
{
"error": "NOT_FOUND",
"status": 404,
"message": "The requested resource does not exist"
}