Skip to main content
Errors use standard HTTP status codes and a consistent JSON shape:
  • code — a stable, machine-readable string. Branch on this.
  • message — a human-readable explanation. Don’t parse it.

Status codes

4xx errors are safe to surface to your users after fixing the request. Retry 429 and 5xx with backoff.