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"
}
StatusCodeMeaning
400invalid_paramsA parameter failed validation, or the window is over 90 days.
401unauthorizedMissing or revoked key.
403plan_requiredThe project's plan doesn't include the API.
404not_foundNo such project for this key.
429rate_limitedOver 120 requests a minute for this project.
500internal_errorSomething failed on our side.
504timeoutThe query ran past 30 seconds; narrow the window.

Related