Skip to main content

Error envelope

Every failed response uses the same envelope structure as a success, with status: false and data: null:
The message field is always a plain-English string you can log or surface to a developer.

HTTP status codes

Common error scenarios

400 validation error

Happens when required fields are missing or a field type is wrong. Read the message carefully — it usually names the failing field:

401 invalid key

Check that X-API-Key is present, the value is the full key secret (not the publicKey), and the key has not been revoked.

403 scope denied

Add the missing scope to your key:

429 rate limited

Implement exponential backoff and retry after the window resets. See Rate Limits.

Troubleshooting checklist

  1. Log the full request URL, method, headers (redact the key value), and response body.
  2. Check status and message in the response envelope.
  3. For 401/403 — re-read Authentication and verify key scopes.
  4. For 400 — compare your request body against the DTO fields in the endpoint’s documentation.
  5. For 500 — retry once. If the error persists, contact support with the endpoint, payload, and a timestamp.