Error codes
Última actualización
¿Te fue útil?
Última actualización
¿Te fue útil?
Treevox uses HTTP response status codes to indicate the success or failure of your API requests. If your request fails, Treevox returns an error using the appropriate status code.
In general, there are three status code ranges you can expect:
2xx
success status codes confirm that your request worked as expected
4xx
error status codes indicate an error because of the information provided (e.g., a required parameter was omitted)
5xx
error status codes are rare and indicate an error with Treevox’s servers
Some 4xx
errors that could be handled programmatically, include an error code a short string with a brief explanation as a value for code
. Below is a list of possible error codes that can be returned.
forbidden
The API key doesn't have permissions to perform the request.
api_key_expired
The API key provided has expired. Obtain your current API keys from the Dashboard and update your integration to use them.
contact_email_exist
The contact email is already registered.
contact_not_found
The contact is not registered.
contact_exist
The contact is already registered