Custom program error

0xbbb3003

Appears in logs as custom program error: 0xbbb

Anchor

AccountDidNotDeserialize

“Failed to deserialize the account”

Anchor could not Borsh-deserialise the account data into the expected struct.

Common causes

  • The account layout changed (fields added/removed) without migrating existing accounts.
  • The account data is corrupted or shorter than the struct.

How to fix it

  • Add a migration or create new accounts. Use realloc and versioned structs when evolving layouts.

Decode another error

Try: