Skip to main content
Build robust integrations by handling errors properly.

Error Response Format

All error responses follow a consistent structure:

Handling Strategies

Cause: Missing required fields or invalid parameter values.Action: Check your request body against the endpoint documentation. Validate all required fields before sending.
Cause: Invalid, expired, or missing authentication token.Action: Request a new access token and retry. Ensure your API keys are correct.
Cause: Valid request format but invalid business logic (e.g. cancelling a paid order).Action: Check the current state of the resource before attempting the action.
Cause: Too many requests in a short period.Action: Implement exponential backoff. Wait, then retry with increasing delays.
Never expose raw API error messages to end users. Map error codes to user-friendly messages in your application.