TxWhy

Error codes / Anchor framework

ConstraintTokenOwner

Anchor framework · Custom(2015) · 0x7df

custom program error: 0x7df

What it means

The token account's owner does not match.

What to do

Pass the token account owned by the expected wallet.

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).