x402serps logox402serps

Help & troubleshooting

Payment not detected

Wrong chain or amount on Base or Solana

x402 error codes

These codes come from the x402 libraries and the facilitator and are returned in the 402 response (error / invalidReason).

CodeMeaning and fix
payment_requiredNo payment header was sent. Pay using the requirements in the response and retry.
invalid_payloadThe payment header could not be decoded. Send base64 JSON produced by an x402 client such as @x402/fetch.
invalid_scheme / unsupported_schemeUse scheme exact.
invalid_network, invalid_exact_evm_network_mismatchThe payment is for a different chain than the requirement you picked. Use Base or Solana mainnet as listed in accepts[].
invalid_exact_evm_insufficient_balanceNot enough USDC on Base in the paying wallet.
invalid_exact_evm_recipient_mismatch, invalid_exact_svm_payload_recipient_mismatchPaid to the wrong address. Use payTo from the 402.
invalid_exact_evm_payload_authorization_value_mismatch, invalid_exact_svm_payload_amount_mismatchWrong amount. Use the amount from the 402 for this exact request body.
invalid_exact_evm_payload_authorization_valid_before / _valid_afterThe signed authorization expired or is not yet valid. Sign a fresh payment and retry promptly; check your clock.
invalid_exact_evm_nonce_already_usedA payment was reused. Sign a new payment for every call.
invalid_exact_evm_signature, invalid_exact_evm_failed_to_verify_signatureSignature invalid. Make sure the signer owns the paying address.
invalid_exact_svm_payload_mint_mismatchSolana payment used a token other than USDC.
settle_failed, invalid_exact_evm_transaction_failedThe on-chain transfer failed at settlement. Check your balance and retry; if funds left your wallet, contact us with the tx hash.

MCP errors

API keys, credits and Stripe

Free trial

Still stuck? Contact us

Email hello@x402serps.com. Include the transaction hash (for x402 payments), the endpoint, the time (with timezone), the request body and the response status and body. Never send your API key, private key or seed phrase. We will never ask for them.