Docs Concepts
Errors
One JSON shape for every error, with a stable code to branch on.
The shape
Every error, whatever its status, has the same body. Branch on
error, which never changes within v1. detail is a human-readable hint and may be reworded.{
"error": "invalid_parameter",
"detail": "limit: Input should be less than or equal to 100"
}
The codes
| Status | error | What it means |
|---|---|---|
| 400 | invalid_cursor | The cursor wasn't one we issued. Pass next_cursor exactly as returned. |
| 400 | invalid_date | A date wasn't YYYY-MM-DD. |
| 400 | missing_parameter | A required parameter is missing; detail names it. |
| 400 | too_deep | The page starts past result 10,000. Narrow the search instead. |
| 401 | missing_api_key | No Authorization: Bearer header was sent. |
| 401 | invalid_api_key | The key doesn't exist, was revoked or has expired. |
| 403 | subscription_inactive | The key is valid but the account's plan isn't active. |
| 404 | not_found | No published innovation with that id, or an unknown path. |
| 422 | invalid_parameter | A parameter has the wrong type or is out of range. |
| 429 | rate_limit_exceeded | Too many requests this minute. Wait for Retry-After. |
| 429 | quota_exceeded | The month's requests are used up. Retry-After counts to the reset. |
| 500 | internal_error | Something failed on our side. Retry with backoff. |
| 500 | lookup_failed | A taxonomy lookup failed on our side. Retry with backoff. |
| 503 | similarity_unavailable | Similar-innovation search is briefly down. Retry later. |
Retrying
Retry
429 after Retry-After, and 5xx with exponential backoff. Don't retry other 4xx errors: the same request will fail the same way until you change it.