Error Shape
API errors return an error object with fields like:
typecodemessagerequest_id(when available)
Common Status Codes
400invalid request payload401authentication required/invalid credentials403tier gating or authorization failure404resource not found409idempotency conflict429rate limited
Retry Strategy
- Retry transient
5xxerrors with exponential backoff. - Respect
Retry-Afteron429responses. - Use
idempotency-keyon write endpoints. - Log request IDs for troubleshooting.
Tier Notes
If you receive 403 with a tier-related code/message, the account likely needs Pro or Max for API access.