What the error means
Error processing Instruction N: custom program error: 0x0
In the System Program, 0x0 means an account with that address already exists. In the SPL Token program, 0x0 means the account balance is below the rent-exempt threshold.
| Where it comes from | System Program or SPL Token program |
| Code | 0 (0x0) |
How to fix it
- Find the failing program in the explorer logs.
- System Program: the account you are creating already exists; reuse it, or use the idempotent version of "create associated token account".
- SPL Token: fund the account to the rent-exempt minimum before initializing it.
If that is not it
- In Anchor programs, errors start at 6000 (0x1770), so 0x0 is never an Anchor custom error.
More fixes: how to decode any Solana error code and why Solana transactions fail.
Source
Error text and code from System Program and SPL Token program error definitions (solana-program/token), read on 24 October 2026.
