SPL TokenTokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
InsufficientFunds
“Insufficient funds”
The source token account does not hold enough tokens for the transfer, burn or approve amount. This is the most common SPL Token error and shows up as custom program error: 0x1.
Common causes
- The wallet simply does not own that many tokens, or the balance is in a different token account for the same mint.
- Decimal mistakes: sending
1when you meant1 * 10^decimals, or the reverse. - A previous transaction already moved the tokens and the client state is stale.
- Transfer fees on a Token-2022 mint push the required amount above the balance.
How to fix it
- Fetch the token account balance right before sending and compare it to the raw amount (in base units) you are transferring.
- Check for multiple token accounts for the same mint using
getTokenAccountsByOwnerand pick the one with the balance. - If you see this from the System Program (code 0x1 as well), the issue is SOL balance, not tokens. Check which program logged the error.