ZeroCopyZeroCopy
Reference

Errors

Understand a rejected request and what to change before sending again.

Match on the stable reason; the wording of message can change. JSON-RPC returns the details in error.data; raw HTTP returns them in the response body. QUIC and IPC include the same JSON in their rejection detail.

The docs field is optional. Hosted responses include it only on sol.zerocopy.sh and its valid DNS subdomains. Responses on partner domains, IP addresses, localhost or connections without a hostname omit it. Local agent errors keep their documentation links.

retryable: true means the request can succeed later without changing its contents. Wait before retrying and make sure the transaction has not expired. If the outcome is unknown, check its signature before sending a replacement.

Response codes

JSON-RPC can return an error with HTTP 200, so always read the response body.

ReasonRaw HTTPJSON-RPC HTTPJSON-RPC codeQUIC/IPC code
unauthorized401401-320008
key_paused401401-320008
rate_limited429429-320011
malformed400200-326024
too_large413200-326025
unsigned400200-326022
signature_count400200-326027
missing_tip400200-326023
credit_exhausted400200-326023
simulation_failed400200-320029
bundle_size400200-3260210
bundle_control400200-3260210
unsupported404 or 403200 or 403-326014 or 10
not_ready503503-3260311
overloaded503503-3260311
forward_failed503503-326036
preflight_unavailable503503-3260312
internal503503-3260312
payment_required402402-3200313
invalid_request400, 404 or 408200Depends on problem4

A QUIC/IPC code of 0 means accepted. See QUIC and IPC for framing, and getHealth for its separate unhealthy response.

Unknown or removed hostname

HTTPS checks TLS SNI and each request's Host or :authority against the current served hostnames. An unknown or removed name receives HTTP 421 with a plain-text body and no JSON-RPC envelope or rejection object. QUIC closes the connection with application code 4 and reason text unknown host.

After a domain removal reaches a server, existing connections and resumed TLS sessions cannot keep using it. Switch to a current endpoint before removal.

Unauthorized

Supply a valid API key using the authentication method for your interface. Repeating the same unauthorized request will not help.

Key paused

The key is paused. It works again when it's resumed, with the same secret. If your provider issued the key, contact them. For your team's own keys, ask us to resume them through Requests in the console.

Rate limited

Reduce your send rate. limit identifies transactions or bundles; per_second gives the quota when included. Wait for retry_after_ms, if present, before trying again.

Malformed

The encoding, transaction or request format is invalid. Read problem and message to find the failed check. For bundles, index identifies the affected transaction.

tip_overflow means the qualifying tip sum exceeds an unsigned 64 bit integer. tip_too_large means the qualifying tip total, at its SOL value, exceeds 2 SOL. duplicate_signature means a bundle repeats a transaction signature; index identifies the repeated member.

Too large

Reduce the payload to the reported byte limit. size and a bundle index are included when known. See transaction limits and bundle limits.

Unsigned

Sign the transaction before sending it. index identifies the transaction in a bundle.

Signature count

Sign with every required signer. required and present, when included, show the mismatch; index identifies the transaction in a bundle.

Missing tip

Include a sufficient tip to a current tip account or token account. minimum is the required amount in lamports and found is the SOL value recognized, in lamports, token tips included. token_value, present when the submission carries token tips, is the part of found that came from them; see token value. Increase the transfer if needed. A declared tip requires that option to be enabled for your key.

Credit exhausted

The declared tip exceeds the credit available on your key. Include the tip in the transaction instead, or ask about billing on Discord. declared and available give the amounts in lamports.

Simulation failed

Preflight found an execution error. Inspect error and the returned simulation logs, fix the transaction and sign it again before resubmitting.

Bundle size

Submit between one and four transactions. count shows the submitted number and limit the maximum. A JSON-RPC batch is not a bundle.

Bundle control

The transaction at index violates a bundle control rule. rule identifies the required change:

RuleChange
first_onlyPut the transaction carrying the control account first.
one_onlyUse the control account in only one transaction.
default_programs_onlyAfter the first transaction, use only System, Compute Budget and Memo instructions, and the Token Program's Transfer and TransferChecked.

Unsupported feature

The interface or your key does not support this request. For feature: tip_floor, query a hosted endpoint; the local agent does not serve it. See getTipFloor. For feature: bundles, bundles are turned off for this key; use Requests in the console to discuss access.

For feature: partner_declared_tips, remove the declared tip and tip an account returned by getTipAccounts. The message is "declared tips are not available for this key; tip one of the accounts getTipAccounts returns". It returns HTTP 403 and QUIC/IPC code 4. Direct bundle declarations use feature: declared_tips, HTTP 403 and code 10; remove the declaration and pay the required bundle tip inside the transactions.

Not ready

Wait and retry, or use another metro's host. waiting_for gives more context:

ValueAction
leader_routeTry again shortly or use another metro's host.
block_engineBundles are temporarily unavailable. Retry rather than split a bundle that must land together.
blockhashTry again shortly.
declared_tipsInclude a tip transfer or retry later.
upstreamWait for the local agent to reconnect.
tip_vaultsFetch the tip-account list again before retrying.
token_priceA USDC or USDT tip could not be valued because no recent price is available. Retry shortly, or tip in SOL or WSOL.
lookup_tableAn address lookup table that may hold the tip recipient could not be read in time. Retry shortly.

Overloaded

Retry after a delay or use another metro's host, while the transaction remains valid.

Forward failed

Submission failed. Check the transaction's status if the outcome is unknown, then retry while it remains valid.

Preflight unavailable

Simulation is temporarily unavailable. Retry later. You can explicitly skip preflight if your application accepts sending without simulation.

Internal error

Retry after a delay. If the problem persists, report it on Discord with the metro, UTC time and request details, without credentials.

Payment required

An overdue payment has suspended sending for this key. Resolve the payment or ask for help on Discord. unpaid_lamports gives the outstanding amount. Repeated submissions do not clear the suspension.

Invalid request

Correct the JSON-RPC request using problem and message:

ProblemJSON-RPC codeChange
parse_error-32700Send valid JSON.
not_found-32600Use a supported route.
body_timeout-32600Complete the request body before the deadline.
body_unreadable-32600Check the connection and request body.
batch-32600Send one request, or use sendBundle.
not_json_rpc-32600Set jsonrpc to 2.0.
unknown_method-32601Use a method in the JSON-RPC reference
missing_params-32602Supply the required parameters.
invalid_params-32602Use the documented parameter array.
transaction_not_string-32602Encode the transaction as a string.
invalid_options-32602Correct the options and field types.
invalid_commitment-32602Use processed, confirmed or finalized.

Only body_timeout and body_unreadable are retryable without changing the request.

Payment errors

For problems with an enabled declared-tip billing integration, the following reasons may be reported. An error does not mean a payment completed. Ask for help on Discord if you cannot resolve the payment through your configured integration.

No open invoice

There is no outstanding invoice for this key. Do not submit another payment.

Wrong amount

The payment does not match the invoice. Use the invoiced amount.

Foreign instruction

The payment transaction includes unsupported instructions. Check the billing integration.

Bad transfer

The payment's recipient or signer is invalid. Check the payment details.

Nothing transferred

The transaction does not include the required payment.

Stale blockhash

The payment transaction is no longer valid. Create a fresh payment through your integration.

Simulation unavailable

A payment check is temporarily unavailable. Try again later.

Settlement in flight

A payment is processing. Wait for its result before submitting another.

Already used

This payment was already used. Do not send it again.

Not sent

The payment could not be submitted. Try again later.

Failed on chain

The payment failed on chain. Check its execution error and wait for a new payment request before signing another transfer.

Settlement expired

The payment transaction expired without a recorded payment. Wait for a new payment request before signing another transfer.

Invalid message

The payment request is invalid. Check the billing integration.

Ledger unavailable

The payment could not be processed. Try again later.