Errors

Errors use the HTTP status code and a JSON body of one shape:

{
  "error": {
    "code": "quota_exhausted",
    "message": "The monthly allowance of 25,000 calls is used. It renews at 2026-12-01T00:00:00.000Z, or you can change plan in the console.",
    "details": {}
  }
}
StatusCodeMeaning
400invalid_json, operation-specific codesThe request is malformed or a value is out of range.
401invalid_api_keyThe key is missing, unknown or revoked.
403plan_excludes_serviceThe plan does not include this API.
403fact_limit_reachedThe Memory API holds as many facts as the plan allows.
404not_foundNo such endpoint or object.
413body_too_largeThe request body is larger than 10 MB.
429rate_limitedToo many requests per second. Retry after the number of seconds in Retry-After.
429quota_exhaustedThe allowance of the current window is used.
503service_unavailableThe API is temporarily unavailable. Retry with a growing delay; see Status.
504upstream_timeoutThe API did not answer in time.

Each API reference lists the codes of its own operations.