Custom program error

0x7de2014

Appears in logs as custom program error: 0x7de

Anchor

ConstraintTokenMint

“A token mint constraint was violated”

A token account's mint does not match the token::mint constraint.

Common causes

  • Passing a token account for a different mint.

How to fix it

  • Pass a token account for the expected mint, usually the ATA of (owner, mint).

Decode another error

Try: