Error Response

The API returns a single error response on all endpoints if an error occurs. The error message is dependent on the error type. If you plan to catch the JSON response error message, just look for the ERROR parameter within your response.


Example Error Response

{
  "error": 'Unauthenticated'
}

{primary} The error response parameter may contain various messages depending on the error type.