Errors and limits
Error shapes, status codes and the rate limit.
Errors are JSON with a human message and a stable code.
{
"error": "window is 120 days; the most one call may ask for is 90",
"code": "invalid_params"
}| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_params | A parameter failed validation, or the window is over 90 days. |
| 401 | unauthorized | Missing or revoked key. |
| 403 | plan_required | The project's plan doesn't include the API. |
| 404 | not_found | No such project for this key. |
| 429 | rate_limited | Over 120 requests a minute for this project. |
| 500 | internal_error | Something failed on our side. |
| 504 | timeout | The query ran past 30 seconds; narrow the window. |