# Errors and charges

Look up any error code for its cause and what to do. **An error means nothing was charged**, with one exception: `settlement_unknown` means it is not known yet whether you were charged.

## What an error looks like

A failed request has a non-2xx HTTP status and an error code in `code`. Branch on `code`, never on the wording of `message`.

```
{
  <b>"code"</b>: <b>"insufficient_balance"</b>,
  <b>"request_id"</b>: <b>"…"</b>,
  <b>"message"</b>: <b>"The balance is too low"</b>,
  <b>"message_zh"</b>: <b>"余额不足"</b>,
  <b>"charged"</b>: false,
  <b>"retry"</b>: <b>"after_fix"</b>,
  <b>"retry_after_seconds"</b>: null,
  <b>"param"</b>: null,
  <b>"docs_url"</b>: <b>"https://www.askcrawl.com/docs/errors#insufficient_balance"</b>,
  <b>"required"</b>: <b>"0.015"</b>,
  <b>"available"</b>: <b>"0.05"</b>,
  <b>"top_up_url"</b>: <b>"https://www.askcrawl.com/console/billing"</b>
}
```

| Field | Type | Description |
| --- | --- | --- |
| `code` | `string` | The error code. Branch on this, not on message |
| `request_id` | `string` | The request ID. Include it when you contact us |
| `message` | `string` | Explanation in English |
| `message_zh` | `string` | Explanation in Chinese |
| `charged` | `boolean \| null` | false: nothing was charged. null: not known yet, so ask again with the same Idempotency-Key |
| `retry` | `"no" \| "yes" \| "once" \| "after_fix" \| "same_key"` | Whether to retry. no: do not. yes: later. once: one more time at most. after_fix: after changing the request. same_key: only with the same Idempotency-Key |
| `retry_after_seconds` | `integer \| null` | How many seconds to wait before retrying, or null |
| `param` | `string \| null` | The parameter or header at fault, or null |
| `docs_url` | `string \| null` | Link to the explanation of this error |
| `problems` | `string[]` | What exactly is wrong with the parameters. Present only when there is something to list |
| `reason` | `string` | A more specific reason. Present only sometimes |
| `required` | `string` | How many US dollars the request needs. Present when the balance or your limit does not cover it |
| `available` | `string` | How many US dollars are available now. Present when the balance is too low |
| `top_up_url` | `string` | Where to top up. Present when the balance is too low or trial credit cannot be used |
| `next_step` | `string` | What to do next, in English. Present only sometimes |
| `next_step_zh` | `string` | What to do next, in Chinese. Present only sometimes |

Include the `request_id` when you contact us, so we can find the request quickly.

## Were you charged

- `charged` is `false` : the request cost nothing, and anything held for it has been released.
- `charged` is `null` : not known yet. Only `settlement_unknown` does this. **Send the request again with the same `Idempotency-Key` , never a new one.** See [Idempotency](https://www.askcrawl.com/docs/idempotency/#unknown).

In a collection job, one answer failing does not fail the request. That answer's `status` is `failed` and it is not charged, while the others settle as usual. Answered, no-answer and refused results are charged; see [Billing, holds and settlement](https://www.askcrawl.com/docs/billing/#outcomes).

## Should you retry

The `retry` field tells you what to do, and the codes below are grouped the same way.

- When `retry_after_seconds` is set, wait that long first. The `Retry-After` response header carries the same number.
- When retrying a request that can be charged, send the same `Idempotency-Key` as the first time.
- Free requests, such as checking progress or reading answers, can simply be retried.

## Send again only with the same Idempotency-Key

`call_in_progress` HTTP 409 Not charged

The call under this Idempotency-Key is still running; ask again with the same key shortly. Send it again with the same Idempotency-Key, not a new one.

`settlement_unknown` HTTP 500 Billing status unknown

Whether this was charged is not known yet; ask again with the same Idempotency-Key. Send it again with the same Idempotency-Key, not a new one.

## Fix the request, then send it again

`invalid_params` HTTP 400 Not charged

A parameter is invalid. Fix it and send it again; the same request will fail the same way.

`parameter_not_supported` HTTP 400 Not charged

This engine does not support that parameter. Fix it and send it again; the same request will fail the same way.

`engine_unavailable` HTTP 400 Not charged

This engine is not available now. Fix it and send it again; the same request will fail the same way.

`max_price_exceeded` HTTP 400 Not charged

The most this could cost is above the limit you set. Fix it and send it again; the same request will fail the same way.

`cursor_mismatch` HTTP 400 Not charged

The cursor was issued for another endpoint or other parameters. Fix it and send it again; the same request will fail the same way.

`insufficient_balance` HTTP 402 Not charged

The balance is too low. Fix it and send it again; the same request will fail the same way.

`key_budget_exceeded` HTTP 402 Not charged

This key's spending limit does not cover it. Fix it and send it again; the same request will fail the same way.

`trial_not_available` HTTP 403 Not charged

Trial credit cannot be used with this engine; it is available after a top-up. Fix it and send it again; the same request will fail the same way.

`idempotency_conflict` HTTP 409 Not charged

This Idempotency-Key was used for a different request. Fix it and send it again; the same request will fail the same way.

`report_too_large` HTTP 400 Not charged

Too many answers for one report; use fewer jobs, or filter by engine or prompt. Fix it and send it again; the same request will fail the same way.

## Retry later

`rate_limited` HTTP 429 Not charged

Too many requests, or too many calls in progress. You can retry later. When the response has retry_after_seconds, wait that long.

`job_limit_exceeded` HTTP 429 Not charged

Too many unfinished answers, or too much held; submit again when some have finished. You can retry later. When the response has retry_after_seconds, wait that long.

`cost_cap_exceeded` HTTP 429 Not charged

This account's allowance for today is used up. You can retry later. When the response has retry_after_seconds, wait that long.

`uncharged_cost_limit` HTTP 429 Not charged

Too many of this account's requests today returned nothing and were not charged; try again tomorrow (UTC). You can retry later. When the response has retry_after_seconds, wait that long.

`internal_error` HTTP 500 Not charged

The service failed. You can retry later. When the response has retry_after_seconds, wait that long.

`upstream_failed` HTTP 502 Not charged

No result came back this time and nothing was charged; retry shortly. You can retry later. When the response has retry_after_seconds, wait that long.

`cursor_unavailable` HTTP 502 Not charged

This cursor is unavailable now; retry later or start again from the first page. You can retry later. When the response has retry_after_seconds, wait that long.

`upstream_busy` HTTP 503 Not charged

Busy now; retry shortly. You can retry later. When the response has retry_after_seconds, wait that long.

`capability_paused` HTTP 503 Not charged

This endpoint is paused. You can retry later. When the response has retry_after_seconds, wait that long.

`overloaded` HTTP 503 Not charged

The service is busy; retry shortly. You can retry later. When the response has retry_after_seconds, wait that long.

`timeout` HTTP 504 Not charged

The data did not arrive in time; nothing was charged. You can retry later. When the response has retry_after_seconds, wait that long.

## Retrying will not help

`cursor_invalid` HTTP 400 Not charged

The cursor does not exist. Retrying will not help.

`unauthorized` HTTP 401 Not charged

No credential was sent, or it is invalid, disabled or expired. Retrying will not help.

`account_suspended` HTTP 403 Not charged

The account is suspended. Retrying will not help.

`forbidden` HTTP 403 Not charged

Not allowed. Retrying will not help.

`key_scope_denied` HTTP 403 Not charged

This key may not use that endpoint or engine. Retrying will not help.

`not_found` HTTP 404 Not charged

It does not exist, is private or was deleted. Retrying will not help.

`unknown_endpoint` HTTP 404 Not charged

There is no such endpoint. Retrying will not help.

`cursor_expired` HTTP 410 Not charged

The cursor expired; start again from the first page. Retrying will not help.

`result_expired` HTTP 410 Not charged

The saved result has expired and was deleted. Retrying will not help.

Up

[Docs](https://www.askcrawl.com/docs/)

Related

[Brand reports and comparisons](https://www.askcrawl.com/docs/reports/)

Basis

[Methodology](https://www.askcrawl.com/methodology/)

[Pricing and billing rules](https://www.askcrawl.com/pricing/)

Next

[API reference](https://www.askcrawl.com/docs/api/)

[All AI platforms](https://www.askcrawl.com/engines/)

> Page: https://www.askcrawl.com/docs/errors/ · Content date: 2026-12-01
