Transaction & RPC errors

AccountNotFound

Appears as Attempt to debit an account but found no record of a prior credit.

Transaction

AccountNotFound

“Attempt to debit an account but found no record of a prior credit.”

The fee payer account does not exist on this cluster. It has never received SOL, so there is nothing to debit for fees.

Common causes

  • The wallet is new and has never been funded on this cluster (common on devnet/localnet).
  • You are connected to the wrong cluster: the wallet has SOL on mainnet but you are sending to devnet.

How to fix it

  • Airdrop or transfer SOL to the fee payer on the cluster you are using.
  • Verify the RPC URL matches the network your wallet is funded on.

Decode another error

Try: