Error codes / Anchor framework
AccountDiscriminatorAlreadySet
Anchor framework · Custom(3000) · 0xbb8
custom program error: 0xbb8
What it means
Init found the discriminator already set.
What to do
The account is already initialized — skip the init or use a fresh 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).