Custom program error

0x5dc1500

Appears in logs as custom program error: 0x5dc

Anchor

EventInstructionStub

“The program was compiled without `event-cpi` feature”

The program was compiled without event-cpi feature.

Common causes

  • See the Anchor source for the exact condition that triggers this error.

How to fix it

  • Inspect the program logs around the error for the account or instruction involved.

Decode another error

Try: