Errors
Voxtelesys provides error details, if applicable, via a standard error object. The error object provides a unique ID and description of the error and is primarily intended to help you self-diagnose the issue.
Error Object
A standard error object is sent with every error response. The error object is formatted to include an error message, the status of the response, and a unique ID for the error.
{
"message": "Authorization header required",
"status": "error",
"error_id": "0af622de-1898-4cce-9b0b-14a9e4086c8e"
}
Error Codes
| Status | Error | Description |
|---|---|---|
| 400 | invalid_request | The request is missing a required parameter, includes an unsupported parameter, or is otherwise malformed |
| 401 | invalid_client | Client authentication failed (e.g., unknown client, wrong credentials) |
| 400 | unauthorized_client | The authenticated client is not authorized to use this grant type |
| 400 | invalid_grant | The provided authorization grant or refresh token is invalid, expired, revoked, or does not match the client |
| 400 | unsupported_grant_type | The authorization grant type is not supported by this server |
| 500 | server_error | The server encountered an unexpected condition that prevented it from fulfilling the request |
| 503 | temporarily_unavailable | The server is currently unable to handle the request due to temporary overloading or maintenance |
| 404 | not_found | The requested resource was not found |