Error codes / Anchor framework
AccountDiscriminatorNotFound
Anchor framework · Custom(3001) · 0xbb9
custom program error: 0xbb9
What it means
No discriminator — the account was never initialized by this program.
What to do
Initialize the account first, or pass the correct existing account.
Have the transaction that failed with this?
Paste its signature. TxWhy shows the exact instruction and inner call that raised the error, and rebuilds the transaction when the cause is one it can fix (compute limit, expired blockhash, priority fee, stale swap quote).