Custom program error

0x9c62502

Appears in logs as custom program error: 0x9c6

Anchor

RequireKeysEqViolated

“A require_keys_eq expression was violated”

A require_keys_eq! check failed: two public keys that must match were different.

Common causes

  • Passing the wrong authority or account.

How to fix it

  • The logs show both keys. Pass the expected one.

Decode another error

Try: