Custom program error

0x9c52501

Appears in logs as custom program error: 0x9c5

Anchor

RequireEqViolated

“A require_eq expression was violated”

A require_eq! check failed: two values that must be equal were not.

Common causes

  • Mismatched amounts, counters or indexes between client and on-chain state.

How to fix it

  • Read the program logs just above the error line; Anchor prints the left and right values.

Decode another error

Try: