Errors
API v2 returns structured error objects inside anerror key.
Error shape
Error codes
Validation errors
When request validation fails,details.issues lists each problem:
Retry guidance
- 429 — Back off and retry after the window in
RateLimit-Reset - 500 — Retry with exponential backoff
- 400 / 409 — Fix the request; retrying without changes will fail