FixesUpdated 23 Oct 20261 min read

"custom program error: 0x3" (Account not associated with this Mint)

The fix

The token account passed in holds a different token than the mint in the instruction, usually because an app mixed up two token accounts.

What the error means

Error processing Instruction N: custom program error: 0x3

The token account passed in holds a different token than the mint in the instruction, usually because an app mixed up two token accounts.

Where it comes fromSPL Token program
Code3 (0x3) MintMismatch

How to fix it

  1. Check the mint of each token account in the explorer.
  2. Refresh the app so it reloads your accounts, then retry.
  3. When building transactions, derive the associated token account from the correct mint and owner.

If that is not it

  • If the token is Token-2022, make sure the instruction uses the Token-2022 program, not the original Token program.

More fixes: how to decode any Solana error code and why Solana transactions fail.

Source

Error text and code from SPL Token program error definitions (solana-program/token), read on 24 October 2026.

Questions people ask

What causes a mint mismatch?

Passing a token account for one token into an instruction for another.

Is this a scam warning?

No. It is a wrong-account error.

"custom program error