Solana error codes › System Program

System Program error codes

9 error codes defined by System Program (program ID 11111111111111111111111111111111). In logs they appear as custom program error: 0x… after Program 11111111111111111111111111111111 failed.

System Program: AccountAlreadyInUse

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.

System Program: ResultWithNegativeLamports

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.

HexCodeError
0x00AccountAlreadyInUse
An account with the same address already exists.
The instruction tried to create an account at an address that already exists.
0x11ResultWithNegativeLamports
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.
0x22InvalidProgramId
Cannot assign account to this program id.
0x33InvalidAccountDataLength
Cannot allocate account data of this length.
0x44MaxSeedLengthExceeded
Length of requested seed is too long.
0x55AddressWithSeedMismatch
Provided address does not match addressed derived from seed.
0x66NonceNoRecentBlockhashes
Advancing stored nonce requires a populated RecentBlockhashes sysvar.
0x77NonceBlockhashNotExpired
Stored nonce is still in recent_blockhashes.
0x88NonceUnexpectedBlockhashValue
Specified nonce does not match stored nonce.

Decode an error

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.