Custom program error

0x1c28

Appears in logs as custom program error: 0x1c

Token-2022TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb

MintHasSupply

“Mint has non-zero supply. Burn all tokens before closing the mint”

A mint with the MintCloseAuthority extension can only be closed when its supply is zero.

Common causes

  • Attempting CloseAccount on a mint while tokens still exist.

How to fix it

  • Burn all outstanding tokens, then close the mint.

Decode another error

Try: