Every Developer Platform error answers with { "error": { "code", "message", "request_id" } }. With the error taxonomy on, it also carries type, retryable, retry_after_seconds, details and docs_url, a link to the row below. Decide by code when you meet a type you don't know. Quote request_id (or the X-Request-Id header) when you contact support.
| type | code | HTTP | Retryable | Meaning | What to do |
|---|---|---|---|---|---|
| auth_invalid | unauthorized | 401 | no | bad key, token or signature; also a stale signature timestamp | Check the key or client credentials. Don't retry with the same credentials. |
| auth_expired | unauthorized | 401 | yes (after refresh) | token expired; refresh and retry once | Fetch a new token at POST /v1/oauth/token, then retry once. The SDKs do this for you. |
| permission_denied | forbidden | 403 | no | scope missing, or outside the write matrix (§15.2) | Add the scope to the key or client, or use a key of the right organization type. |
| not_found | not_found | 404 | no | also used for other tenants' ids (§15.1) | Check the id. An id you can't see is answered the same way as one that doesn't exist. |
| validation_failed | invalid_request | 400 | no | a field fails a rule; see details | Fix each field named in details, then send the request again. |
| schema_invalid | invalid_request | 400 | no | malformed JSON, wrong types, body too large (413 for size) | Send valid UTF-8 JSON under 100 KB. |
| idempotency_conflict | conflict | 409 | no | same key, different body | Use a new idempotency key for a different request. Reuse a key only to retry the same request. |
| stale_version | conflict | 409 | no | source_version ≤ applied; stored as history | Nothing to fix: a newer version is already applied. Send versions in order. |
| invalid_transition | conflict | 409 | no | e.g. CAP status order | Read the record's current state, then send the next allowed change. |
| rate_limited | rate_limited | 429 | yes | honour Retry-After | Wait retry_after_seconds, then retry. If it keeps happening, poll less often. |
| backpressure | rate_limited | 429 | yes | the system is shedding load for your connection (§14.2) | Wait retry_after_seconds, then retry with exponential backoff and jitter. |
| upstream_unavailable | internal_error | 503 | yes | a dependency is down (the AI reader is not one: it goes PENDING instead) | Retry with exponential backoff (1 s to 60 s). |
| internal_error | internal_error | 500 | yes (with backoff) | report request_id | Retry with backoff. If it persists, quote request_id to support. |
| lineage_redacted | n/a | 200 | n/a | not an error: redactions[] in the body explains the gaps | Nothing: read redactions[]. |
| conflict | conflict | 409 | no | a 409 whose route names no finer class (e.g. a source_id already recorded with other data) | Read the message: send the record with its original data, or under a new source_id. |