SPL TokenTokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
UninitializedState
“State is uninitialized”
The token account or mint has not been initialised, so the program cannot operate on it.
Common causes
- The account was created with
SystemProgram.createAccountbutInitializeAccountwas never called. - The associated token account for this wallet and mint does not exist yet.
- A previous instruction in the same transaction that should have initialised it failed or was omitted.
How to fix it
- Create the ATA first (idempotently) in the same transaction, then transfer.
- Check
getAccountInfoon the address: ifdatais empty or the owner is the System Program, it is not initialised.