Common error fields
The following fields are common to all error responses:
-
status
- (number) HTTP status code of error (400-599). -
reason
- (string) Reason phrase of status code. -
code
- (string) API error code. -
message
- (string) Description of API error code.
Example error response
HTTP/1.1 401 Unauthorized
Content-Type: application/json
{
"status": 401,
"reason": "Unauthorized",
"code": "InvalidAuthorizationToken",
"message": "The provided authorization token is invalid"
}