Custom program error

0x7dc2012

Appears in logs as custom program error: 0x7dc

Anchor

ConstraintAddress

“An address constraint was violated”

The account does not match the fixed address given in #[account(address = ...)].

Common causes

  • Passing the wrong program or sysvar, or a mainnet address on devnet.

How to fix it

  • Pass exactly the address specified in the constraint.

Decode another error

Try: