Error Structure
When an error occurs, you receive a JSON object with the following structure:Example
- a
failedstatus indicating that the API request was not processed successfully. - The error
status_code. - The error message detailing what is wrong with the request.
Best Practices
- Log all API errors for easy debugging and issue resolution with the support team.
- Present your customers with actionable user-friendly messages so they are not stuck when they make an error.
- Implement retry logic for transient errors like 5xx errors or rate limiting.
- Report persistent or unexpected errors to our support team.

