Error codes / Anchor framework
ConstraintAssociated
Anchor framework · Custom(2009) · 0x7d9
custom program error: 0x7d9
What it means
Associated account constraint failed.
What to do
Derive the associated account (ATA) for the exact owner+mint pair the program expects.
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).