Custom program error

0x7d42004

Appears in logs as custom program error: 0x7d4

Anchor

ConstraintOwner

“An owner constraint was violated”

The account is not owned by the program named in the owner constraint.

Common causes

  • Passing a token account from the wrong token program, or a system-owned (uninitialised) account where a program account is expected.

How to fix it

  • Check the account's owner on an explorer and pass the correct account or program.

Decode another error

Try: