Custom program error

0x1420

Appears in logs as custom program error: 0x14

Token-2022TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb

ExtensionTypeMismatch

“Extension type does not match already existing extensions”

You tried to add a mint extension to a token account, or a token account extension to a mint.

Common causes

  • Mixing mint-only extensions (transfer fee config, metadata pointer, permanent delegate) with account-only extensions (immutable owner, memo transfer, CPI guard).

How to fix it

  • Check which extensions belong on a mint vs a token account and initialise each on the correct account type.

Decode another error

Try: