Error codes / Anchor framework
AccountNotInitialized
Anchor framework · Custom(3012) · 0xbc4
custom program error: 0xbc4
What it means
The account has no data — it was never initialized by the expected program.
What to do
Run the init instruction first, or derive 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).