Custom program error

0x7d32003

Appears in logs as custom program error: 0x7d3

Anchor

ConstraintRaw

“A raw constraint was violated”

A constraint = <expression> check evaluated to false.

Common causes

  • The custom condition written on the account did not hold for the accounts and arguments supplied.

How to fix it

  • Look up the constraint expression in the program source for the account named in the logs and satisfy it. Add a custom error to the constraint (@ MyError::Reason) for clearer messages.

Decode another error

Try: