What the error means
Error processing Instruction N: custom program error: 0x1
In the SPL Token program, code 0x1 means the source token account holds fewer tokens than the transfer asks for. In the System Program, code 1 means the account does not have enough SOL.
| Where it comes from | SPL Token program |
| Code | 1 (0x1) InsufficientFunds |
How to fix it
- Check which program failed in the explorer logs: Token program or System Program.
- For tokens, lower the amount or refresh your balance; another transaction may have spent tokens first.
- For SOL, add SOL to cover the transfer plus fees and rent.
- In swaps, a price move can make the needed input larger than your balance; retry with a fresh quote.
If that is not it
- 0x1 means something different in other programs; the program ID in the logs decides, see how to decode error codes.
More fixes: how to decode any Solana error code and why Solana transactions fail.
Source
Error text and code from SPL Token program error definitions (solana-program/token); System Program error definitions, read on 24 October 2026.
