Error codes / Anchor framework
AccountNotMutable
Anchor framework · Custom(3006) · 0xbbe
custom program error: 0xbbe
What it means
An account that must be writable was passed read-only.
What to do
Mark it writable in the transaction.
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).