Errors
Error format and status codes of the REST API.
Errors are always JSON with an error message:
{ "error": "table not found" }| Status | Meaning |
|---|---|
400 | Invalid input. |
401 | Missing, wrong, expired or revoked key. |
403 | The key is read-only, or limited to tables and the endpoint reaches every table. |
404 | Not found, or not visible to this key. |
409 | A column constraint was violated: { "error": "…", "code": "CONSTRAINT", "constraint": … }. |
5xx | Server error. Safe to retry reads; retry writes only if they are idempotent. |
Think Service responses also carry x-think-request-id, and error bodies include requestId. Quote it when you contact support.