Skip to content

Errors

Every error code the Deep Search API returns, with its HTTP status and what to fix before you retry, from a missing key to a spent allowance.

How errors look

A failed call comes back with an HTTP status that fits the problem and this JSON body: { "error": { "code", "message" } }. Branch on code, which stays fixed; message is a readable explanation.

Codes and statuses

StatusCodeMeaning
400invalid_jsonThe body could not be parsed as JSON.
400invalid_requestThe JSON parsed, but a field is missing or has the wrong form.
401missing_api_keyThe request arrived without an Authorization: Bearer <key> header. The response body links to where you can get a key.
401invalid_api_keyThe API does not recognise this key: it is malformed, unknown or revoked.
401expired_api_keyThis key's expiry date has passed.
402not_subscribedNo active plan on this account. The response body links to a subscription page.
402usage_exhaustedBoth included usage and extra credits are spent. The response body links to where you can add credits.
402no_coinsOlder v1 name for running out of extra credits, kept for compatibility.
403missing_scopeThe key works but does not carry the scope this endpoint requires.
409idempotency_conflictThis Idempotency-Key was already used with a different body.
413request_too_largeOver the API's size limit for a JSON body.
404developer_api_disabledThis deployment has the developer API switched off.
429rate_limitedThis key or IP address sent too many requests. Wait for the reset, then retry.
503spend_cap_reachedA temporary limit on total service spending was reached. Try again later.