Error codes / Anchor framework
ConstraintZero
Anchor framework · Custom(2013) · 0x7dd
custom program error: 0x7dd
What it means
The account is expected to be zeroed but has data.
What to do
Pass a freshly created, never-used 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).