Custom program error

0x7d22002

Appears in logs as custom program error: 0x7d2

Anchor

ConstraintSigner

“A signer constraint was violated”

An account marked Signer did not sign the transaction.

Common causes

  • The wallet you passed as a signer was not added to the transaction's signers.
  • A PDA was passed as a Signer instead of being signed via invoke_signed in a CPI.

How to fix it

  • Add the keypair to .signers([...]) or let the wallet adapter sign.
  • If the signer is a PDA, pass it as UncheckedAccount/SystemAccount and sign with seeds in the CPI.

Decode another error

Try: