Error codes / Anchor framework
AccountNotEnoughKeys
Anchor framework · Custom(3005) · 0xbbd
custom program error: 0xbbd
What it means
The instruction was given fewer accounts than the program expects, which happens when the client was built against an older version of the program.
What to do
Regenerate the client from the current IDL so the account list matches.
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, a stale swap quote or a moved limit).