Solana error codes › System Program
9 error codes defined by System Program (program ID 11111111111111111111111111111111). In logs they appear as custom program error: 0x… after Program 11111111111111111111111111111111 failed.
The instruction tried to create an account at an address that already exists.
What to do: Do not re-run account creation for an existing address. For a program-derived or seeded account, check whether it was already created in an earlier transaction.
The paying account does not have enough SOL for the transfer or account creation, on top of the network fee.
What to do: Add SOL to the wallet that pays, or lower the amount. Keep a small SOL balance for fees and for the rent of any new token account the transaction creates.
| Hex | Code | Error |
|---|---|---|
| 0x0 | 0 | AccountAlreadyInUse An account with the same address already exists. The instruction tried to create an account at an address that already exists. |
| 0x1 | 1 | ResultWithNegativeLamports Account does not have enough SOL to perform the operation. The paying account does not have enough SOL for the transfer or account creation, on top of the network fee. |
| 0x2 | 2 | InvalidProgramId Cannot assign account to this program id. |
| 0x3 | 3 | InvalidAccountDataLength Cannot allocate account data of this length. |
| 0x4 | 4 | MaxSeedLengthExceeded Length of requested seed is too long. |
| 0x5 | 5 | AddressWithSeedMismatch Provided address does not match addressed derived from seed. |
| 0x6 | 6 | NonceNoRecentBlockhashes Advancing stored nonce requires a populated RecentBlockhashes sysvar. |
| 0x7 | 7 | NonceBlockhashNotExpired Stored nonce is still in recent_blockhashes. |
| 0x8 | 8 | NonceUnexpectedBlockhashValue Specified nonce does not match stored nonce. |
Free, no sign-up, nothing to connect. Works offline from a bundled list; we do not look anything up on-chain.
Swapping a token you do not know? A free Rugsight check shows mint and freeze authority, Token-2022 extensions, holder concentration and liquidity before you trade.
Source: anza-xyz/solana-sdk system-interface/src/error.rs. Data: program error lists from published IDLs (solana-idls 1.2.1, MIT) and the System, SPL Token, Token-2022 and Associated Token Account source code, snapshot 2026-11-16. Programs can be upgraded and add or change errors; the failing program's current IDL is the final word.