Custom program error

0x9ca2506

Appears in logs as custom program error: 0x9ca

Anchor

RequireGteViolated

“A require_gte expression was violated”

A require_gte expression was violated. A require_gte! check in the instruction handler failed.

Common causes

  • The compared values did not satisfy the condition.

How to fix it

  • Check the program logs for the two values Anchor prints, then fix the inputs or on-chain state.

Decode another error

Try: