Errors other than 429 share one shape: { "code": "not_found", "message": "…" }. invalid_request adds errors, one per bad parameter.
| Code | Status | When |
|---|---|---|
| invalid_request | 400 | A query or path parameter is missing or out of range. |
| invalid_key | 401 | The key is malformed, revoked or unknown. Leave it out to use the anonymous allowance. |
| not_found | 404 | No public item with that slug. |
| method_not_allowed | 405 | The API is read-only: GET (and OPTIONS) only. |
| rate_limited | 429 | Over a bucket or the global limit. Wait retry_after seconds. |
| internal_error | 500 | Something broke on our side. Retry with backoff. |
JSON
{
"code": "invalid_request",
"message": "Some parameters are invalid.",
"errors": [
{
"param": "limit",
"message": "Too big: expected number to be <=100"
}
]
}