翻篇收录说明
翻篇网页快照

Keenable API errors - Keenable

https://docs.keenable.ai/errors

最近抓取:2026-12-03 05:57:58(北京时间)

最近内容变化:2026-12-03 05:57:58(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Look up any Keenable API error by status or code: the cause, whether a retry helps, and the fix. Covers the error body, error types and SDK error classes.

正文摘录

Find any error the Keenable API returns, what caused it and the exact fix. Each section has a stable anchor, so SDK error messages and agents can link straight to it. StatusErrorRetry?400Invalid request parametersFix, then retry400Missing app identifierFix, then retry401Missing keyFix, then retry401Malformed keyFix, then retry401Invalid keyFix, then retry401Invalid bearer tokenFix, then retry402Out of fundsDo not retry403Key rejected or revokedDo not retry; check the key, then ask a human403Time Machine not enabledDo not retry; drop as_of or ask a human404Page not foundFix the URL, then retry405Wrong HTTP methodFix the method, then retry422Content could not be extractedFix the URL or skip; do not retry the same URL429Rate limit exceededWait, then retry5xxServer errorRetry up to 3 times Over HTTP, an error body is JSON with an error and a message field. The SDKs raise an error whose message starts with the prefix shown under each entry, followed by the API’s message. Each SDK page lists its error classes and whether the SDK retries each one: TypeScript, Python, Go and Rust. Troubleshooting Start from what you see. Each row names the usual cause and the fix, and links the full entry. What you seeUsual causeFix400 Missing app identifier on a call without a keyThe keyless /public paths need your app’s nameSend an X-Keenable-Title header. See 400 Missing app identifier.401 from /v1/search or /v1/fetchNo key, or the key isn’t in the X-API-Key headerSend the key in X-API-Key, or call the /public paths without one. See 401 Missing key.405 from an endpointThe path doesn’t take that method, such as a GET to /v1/time-machine/fetchResend the request with a method that the response’s Allow header lists. See 405.429 with public_rate_limit_hourlyThe keyless 1,000 requests per hour for your IP address are used upSend an API key, or wait until limit.resets_at. See 429.429 with rate_limit_per_secondYour organization sent more than its per-second limitWait the seconds in Retry-After, then retry with fewer calls in parallel. See Production checklist.402 with insufficient_creditsThe monthly allowance and the prepaid balance are used upStop and ask a human to top up. Don’t retry. See 402.403 with Feature not enabledTime Machine isn’t turned on for your organizationDrop as_of and call search or fetch, or ask Keenable to turn it on. See 403 Time Machine not enabled.Fetch returns an older version of a pageFetch returned Keenable’s indexed copySend retrieval.max_age_hours as 0. See Live fetch.5xx or timeoutsA failure on Keenable’s side or at the target pageCheck status.keenable.ai, then retry up to 3 times. See 5xx.Your agent answers from its own web search, not KeenableThe client’s built-in web search is still onSee Make Keenable the default web tool. Error body Every error from the /v1 endpoints, including their /public and /v1/x402 twins, is one flat JSON object. Branch on type for the broad handling and on code for the specific case, never on the text of error or message. New codes may be added, so handle an unknown code by its type, or by its HTTP status if type is missing. This 429 shows the fields an agent acts on: { "error": "Rate limit exceeded", "type": "rate_limit_error", "code": "rate_limit_per_second", "message": "Too many requests: your organization is limited to 10 requests per second. Wait until 2026-11-06T12:00:01.000Z (1s), then retry. For a higher limit, upgrade at https://app.keenable.ai/console/billing?tab=limits.", "fix": "Wait until 2026-11-06T12:00:01.000Z (1s), then retry. Keep under 10 requests per second, shared by all your organization's keys. For a higher limit, upgrade at https://app.keenable.ai/console/billing?tab=limits.", "docs_url": "https://docs.keenable.ai/errors#rate-limit-per-second", "request_id": "0196f0c2-7a51-7c3e-9b0e-2f4d8a1c5e77", "retryable": true, "retry_after_seconds": 1, "retryAfter": 1, "limit": { "scope": "organization", "window": "second", "max": 10, "resets_at": "2026-11-06T12:00:01.000Z" } } The response also carries a Retry-After: 1 header. The fields sit at the top level, not nested under an error object as in Stripe’s API, because released clients read error and message as top-level strings. Which fields appear depends on the error: FieldWhen it’s setWhat it meanserrorEvery errorShort error title, such as Rate limit exceeded. Kept unchanged for existing clients.typeWith codeThe category of the error, one of the seven error types.codeEvery error on the endpoints aboveStable machine code in snake_case. Codes are only added, never renamed. The error codes list every value.messageMost errorsWhat went wrong, in words. The wording may change, so don’t parse it.fixWith codeWhat to do next, including whether retrying helps.paramOn validation errorsThe parameter or header that failed, such as url or X-Keenable-Title.docs_urlWith codeThe section of this page for the code: https://docs.keenable.ai/errors# followed by the code with _ replaced by -, such as #rate-limit-per-second. The name is docs_url, not Stripe’s doc_url.request_idWhenever one is knownThe same value as the X-Request-Id header. Include it when you report a problem.retryableWith codetrue if the same request can succeed when sent again unchanged. false means change the request or follow fix.retry_after_secondsOn errors where retryable is trueSeconds to wait before retrying. The Retry-After header carries the same value.retryAfterOn 429s from Keenable’s own rate limitsOlder name for retry_after_seconds, kept for existing clients.allowedOn unknown_parameterThe parameters the endpoint accepts.did_you_meanOn unknown_parameter, when a name is close to a supported oneMaps each such name to the parameter to rename it to, such as {"count": "max_results"}.field, value, reasonOn a rejected exclude_domains, where error is invalid_filterThe filter, the entry or limit it rejected, and why. See Exclude domains.detailsOn invalid_requestEach field that failed schema validation.limitOn 429s from Keenable’s own rate limitsWhich limit you hit: scope (organization, user, ip, payer or agent), window (second, minute or hour), max requests per window, and resets_at, when you can send the next request.billing_urlOn insufficient_creditsWhere to top up your balance.auto_top_up_urlOn insufficient_creditsHow to turn on auto top-up.pay_per_requestOn insufficient_credits, where pay-per-request is enabledThe x402 alternative, which needs no key or balance.api_keys_urlOn authentication errors and payment_requiredWhere to create or copy an API key.keylessOn 401 and credentials_forbidden errors from /v1/search and /v1/fetchThe keyless /public alternative. No error body echoes your API key or your request body. Error types type is one of a closed set of seven values. The type belongs to the code, not to the HTTP status: target_blocked is usually 403, like credentials_forbidden, but the first is a target_error and the second a permission_error. TypeStatusesWhat it meansWhat to doinvalid_request_error400, 404, 405, 406, 409, 413, 415, 422The request is wrong.Correct it as fix says, then retry.authentication_error401Credentials are missing, malformed or not accepted.Send a valid API key.permission_error400, 403The credentials are valid but not allowed, for example a revoked key or a private URL.Don’t retry. Follow fix, or ask a human.billing_error402, 451Out of funds, or a pay-per-request payment is needed or failed.Don’t retry unchanged. Top up or pay.rate_limit_error400, 429Too many requests, to your limit or to a Keenable service.Wait retry_after_seconds, then retry.target_errorFetch target codesThe page being fetched failed, not Keenable.Retry if retryable, otherwise fetch another source.api_error422, 5xx, 529Something failed on Keenable’s side.Retry with backoff, then report it. Retry rules Decide whether to retry from the response’s retryable field, not from the status. On the MCP endpoint it’s error.data.retryable in the JSON-RPC error. A 5xx can be final, such as select_timeout, and a 4xx can be worth repeating, such as domain_record_missing. The tables under Error codes show the usual value for each code. ResponseWhat to do"retryable": trueWait retry_after_seconds, then send the same request again. The Retry-After header carries the same value."retryable": falseDon’t send the same request again. Change it or act as fix says.No retryable fieldRetry 408, 429, any 5xx and connection failures, waiting longer before each attempt. Don’t retry any other 4xx, except the device login polls in the next row. This covers a non-JSON body, such as an error page from a proxy in front of the API. On a keyed fetch, don’t resend after a 5xx without retryable or a lost connection: the first fetch may still have run and been billed, and a retry bills every page again. The SDKs do retry these by default, so turn their retries off on fetch calls (see the warning below).authorization_pending or slow_downThese device login answers follow RFC 8628 and have no retryable field. The tables mark them Poll. Keep polling every interval seconds, and use the new, longer interval after slow_down. See Device login. Sending the same request again can repeat a write that already went through. For a monitor create, send an Idempotency-Key and reuse it on the retry, so a create that went through isn’t made twice. See Create a monitor. A pay-per-request call needs a new signature for each attempt, except a retry after payment_verification_unavailable, so after a connection failure or a payment_facilitator_error a retry can pay a second time if the first payment settled. See What is charged. Every error with "retryable": true carries retry_after_seconds and a matching Retry-After header. When fix names a number of attempts, such as once or up to 3 times, stop after that many and report it. Some waits are long: after public_rate_limit_hourly, Retry-After can be up to an hour. The SDKs retry for you, up to 2 times by default. They follow the same rules: retryable decides when the body has it, so