Tx Doctor / Solana error library / Invalid account state

Token 0xd0xd

Solana error: Invalid account state (0xd)

The account exists but is not in a state the program can act on - for example an uninitialized or already-closed token account.

Why it happens

How to fix it

  1. Retry after refreshing balances - the interface will re-create the account.
  2. Wait for any in-flight transaction to confirm before acting again.
  3. Re-create the associated token account for that mint.

What it looks like in the logs

Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA failed: custom program error: 0xd

Seeing this error right now? Paste your transaction signature and get the exact instruction, program and code that failed.

Diagnose my transaction

Related Solana errors

Account not initialized or not found

AccountNotFound

Token account is frozen

Token 0x11

Account would not be rent exempt

Token 0x0

Not enough token balance

Token 0x1