Custom program error

0x7e32019

Appears in logs as custom program error: 0x7e3

Anchor

ConstraintSpace

“A space constraint was violated”

The account's data length does not match the space constraint.

Common causes

  • The account was created with a different size than the program now expects, often after changing the struct without migrating.

How to fix it

  • Create a new account with the correct space, or add a realloc migration.

Decode another error

Try: