> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracefall.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

> Every refusal, its HTTP status, its JSON-RPC code, and what to do about it.

A refusal names its reason with the same `code` in every protocol. Match on `code`; `message` is written for people
and may change.

| `code` | Meaning | HTTP | JSON-RPC `error.code` | What to do |
| - | - | - | - | - |
| `unauthorized` | a key we do not know: never issued, or revoked | 401 | -32401 | check the key, or leave it out to send keyless |
| `unavailable` | we cannot forward now: we are starting up or restarting, or no path to forward on is open | 503 | -32005 | retry in a second; send through your other path meanwhile |
| `paused` | your key is paused | 403 | -32403 | talk to us |
| `rate_limited` | over your rate, or over the limit all keyless sends share | 429 | -32429 | slow down (see `retry-after`), or ask for a higher limit |
| `too_large` | larger than a transaction can be (1,232 bytes, or 4,096 for a v1 transaction), or a request body over its limit | 413 | -32602 | |
| `not_a_transaction` | the bytes are not exactly one whole signed transaction | 400 | -32602 | check the encoding; every required signature must be present |
| `bad_signature` | a signature does not verify | 400 | -32003 | the transaction changed after signing, or was signed for another message |
| `bad_request` | we could not read the request itself: its JSON shape, its base64, a non-boolean `bundleOnly`, or a malformed lookup signature | 400 | -32602 | |
| `tip_missing` | no top-level transfer to one of our tip accounts | 400 | -32602 | add the tip ([Tip accounts](https://docs.tracefall.xyz/tip-accounts.md)) |
| `tip_too_small` | the tips to our tip accounts add up to less than the minimum; the message names the minimum | 400 | -32602 | raise the tip to at least 0.0001 SOL |
| `tip_in_lookup_table` | no tip counted, and a System transfer's destination was loaded from an address lookup table | 400 | -32602 | if that transfer was meant as the tip, make the tip account a static key of the transaction |
| `tip_account_retired` | the transfer went to a tip account we no longer use; the message names `getTipAccounts` | 400 | -32602 | fetch `getTipAccounts` again and tip one of the accounts it lists |
| `bundle_too_large` | a bundle of more than 4 transactions, or more transactions than your key's rate limit allows at once | 400 | -32602 | split it |
| `nonce_not_bundled` | a `bundleOnly` transaction, or a bundle's first transaction, that uses a durable nonce; those are never carried in our bundles | 400 | -32602 | send it without `bundleOnly`; a bundle cannot start with one |
| `bundle_unavailable` | a `bundleOnly` transaction or a bundle that no bundle can carry now: our bundles are paused, switched off or slow to answer; it is a v1 transaction, which no bundle path takes yet; or the tip paid to one tip account is too small to pay the builders | 503 | -32005 | send it again later, or without `bundleOnly`; tip one tip account per send |
| `not_found` | no such endpoint, or a status lookup of a signature we did not take in the last 24 hours or another key sent | 404 | (REST only) | check the path and the signature, and send the lookup with the key that sent it |
| (JSON-RPC only) | a method we do not serve | | -32601 | keep reads on your own RPC node |

A transfer made by another program (a CPI), a `TransferWithSeed`, or a transfer from an account that does not sign the
transaction is not a tip. When it is all the transaction holds, the answer is `tip_missing`, and the message says why.

## In JSON-RPC

The `code` string is in `error.data.code`. When a `sendBundle` refusal points at one transaction in the bundle,
`error.data.memberIndex` gives its zero-based index:

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "error": {
    "code": -32602,
    "message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)",
    "data": {"code": "tip_too_small"}
  }
}
```

The HTTP status is 200, as on an RPC node, except for 401, 429 and 503, which keep their status so that your retry
logic sees them, and 413 when the HTTP request body itself exceeds its size limit.

## In REST

The HTTP status from the table, and an `error` object. When we could read the transaction, its `signature` is beside
`error`; for `POST /v1/bundles`, a refusal caused by one member also sets `error.memberIndex` (zero-based):

```json theme={null}
{
  "signature": "5VERv8…kQUW",
  "error": {"code": "tip_too_small", "message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"}
}
```

```json theme={null}
{"error": {"code": "not_found", "message": "no such endpoint"}}
```

The [fast path](https://docs.tracefall.xyz/sending.md#fast-path) answers the `code` alone, as text, under its status: `tip_too_small` with HTTP
400, for instance. Its body holds no JSON and no message.

## Accepted is not landed

`accepted` means we took the transaction and are forwarding it. It does not mean it landed. An expired blockhash, an
insufficient balance or a failing program still fail on chain, exactly as they would through an RPC node. Confirm on
your own RPC node.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.