Error Response Format
All error responses follow a consistent structure:Handling Strategies
400 — Bad Request
400 — Bad Request
Cause: Missing required fields or invalid parameter values.Action: Check your request body against the endpoint documentation. Validate all required fields before sending.
403 — Forbidden
403 — Forbidden
Cause: Invalid, expired, or missing authentication token.Action: Request a new access token and retry. Ensure your API keys are correct.
422 — Unprocessable Entity
422 — Unprocessable Entity
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.
429 — Rate Limited
429 — Rate Limited
Cause: Too many requests in a short period.Action: Implement exponential backoff. Wait, then retry with increasing delays.

