Skip to content

Guides

Errors

Every error has the same body. Retry only 429, 500 and 503.

Error body

json

{ "error": { "code", "message", "request_id", "param"?, "retry_after_s"? } }

Codes

invalid_parameter400
missing_location400
invalid_json400
invalid_key401
unauthorized401
key_required401
place_not_found404
not_found404
invalid_promo404
method_not_allowed405
gone410
key_exists409
key_limit409
already_subscribed409
no_subscription409
unsupported_media_type415
rate_limited429Retry
quota_exceeded429
server_error500Retry
unavailable503Retry
accounts_closed503

llms-full.txt explains every code.

Retrying

On 429, wait Retry-After seconds before trying again; retry_after_s in the body matches it.

Essential cookies keep the site working. Optional analytics cookies help us improve it. See our Privacy Policy and Terms.