@solana/kit · General

Solana error #11

FAILED_TO_SEND_TRANSACTION

Appears as Solana error #11; Decode this error by running `npx @solana/errors decode -- 11 '…'`

Message

Failed to send transaction$causeMessage

Placeholders (causeMessage) are filled from the error’s context. Paste the base64 argument below to see the real values.

What it means

A wrapper around an RPC send failure. The cause holds the real error.

What to do

  • Inspect error.cause; it is usually a JSON-RPC preflight failure or an HTTP transport error. Paste it into the decoder.

Decode it locally instead

npx @solana/errors decode -- 11 '<base64 context>'

In development, import from @solana/kit as usual and the full message is thrown. In production the message is stripped to keep bundles small; the error object still carries error.context with the same values this page decodes, and isSolanaError(err, SOLANA_ERROR__FAILED_TO_SEND_TRANSACTION) lets you branch on it.

Decode another error

Try: