How errors are returned when using the API
Enthuse uses conventional HTTP response codes to indicate the success or failure of an API request
401 Unauthorized
The 'access_token' you're using has expired or is incorrect, you can retrieve a new one with the same call previously used.
{
"message": "Unauthorized"
}
403 Forbidden
The 'API Key' used in the header section of your call is incorrect.
{
"message": "Forbidden"
}
404 No Records Found
You have no records that match the parameters used in the request
{
"message": "No records found.",
"status": 404
}
500 Internal Server Error
An error has occurred during the call, please inform us of the response and send your call to our Support Team
{
"message": "Internal Server Error.",
"status": 500
}