Home / Solana errors / Cross-program index
Solana Error Code Cross-Program Index
The same number means different things in different programs. 58 custom error codes are claimed by two or more of the 12 programs in our catalogue; the biggest collision, code 6003, carries 8 unrelated meanings. This index maps every contested code side by side — the table Jupiter's docs and StackExchange threads never maintain.
Decode your failed transactionHow to read a Solana custom program error
A log line like Program JUP6… failed: custom program error: 0x1771 carries two facts, and the first one decides everything:
- The program ID —
Program JUP6…. This tells you whose error table to read. 0x1771 is Jupiter's "slippage tolerance exceeded"; the same number in Raydium CPMM is "amount is zero" and in Pump.fun "bonding curve completed". - The code —
0x1771, hex for decimal 6001. Convert it (any hex-to-decimal converter works) and look it up under the program you identified in step 1.
Skipping step 1 is the single most common way a Solana error diagnosis goes wrong: search engines will happily tell you what 6001 "means", and the answer will be one program's meaning out of four.
Anchor programs: the 6000+ collision zone
Anchor-based programs number their custom errors from 6000 upward in declaration order. Nothing offsets them by program, so every Anchor program on Solana draws from the same pool of numbers — collisions are the norm, not a bug. Below, codes claimed by two or more catalogued programs, most heavily contested first.
6003 (0x1773) — 8 programs, 8 meanings
- Jupiter — Missing platform fee account
- Raydium CPMM — InvalidInput
- Pump.fun — Too little SOL received to sell
- Orca — Tick array index out of bounds
- Meteora DLMM — Exceeded amount slippage tolerance
- Raydium CLMM — Position not empty — cannot close
- Meteora AMM — Fee calculation failure
- Raydium LaunchLab — Input does not match curve config
6004 (0x1774) — 7 programs, 6 meanings
- Jupiter — Invalid slippage value
- Raydium CPMM — Address of the provided LP token mint is incorrect
- Pump.fun — The mint does not match the bonding curve
- Meteora DLMM — Exceeded bin slippage tolerance
- Raydium CLMM — Tick out of range
- Meteora AMM — Exceeded slippage tolerance
- Raydium LaunchLab — Exceeded slippage tolerance
6005 (0x1775) — 5 programs, 5 meanings
- Jupiter — Not enough percent to 100
- Raydium CPMM — Exceeds desired slippage limit
- Pump.fun — Bonding curve complete
- Orca — Position is not empty, it cannot be closed
- Raydium LaunchLab — Pool is still in funding
6006 (0x1776) — 5 programs, 5 meanings
- Jupiter — Invalid input or output index
- Raydium CPMM — Given pool token amount results in zero trading tokens
- Pump.fun — The bonding curve has not completed
- Meteora AMM — Zero trading tokens
- Raydium LaunchLab — Pool already migrated
6007 (0x1777) — 5 programs, 5 meanings
- Jupiter — Invalid token output index
- Raydium CPMM — Not support token_2022 mint extension
- Pump.fun — The program is not initialized
- Meteora DLMM — Zero liquidity
- Raydium LaunchLab — Migration type mismatch
6012 (0x177c) — 5 programs, 5 meanings
- Jupiter — Token ledger account mismatch
- Raydium CPMM — Insufficient vault
- Orca — Liquidity amount must be greater than zero
- Meteora DLMM — Pair insufficient liquidity
- Raydium LaunchLab — Vesting has not started
6015 (0x177f) — 5 programs, 5 meanings
- Jupiter — Token program not provided
- Raydium CPMM — Lamports calculate error
- Raydium CLMM — Both token amounts are zero
- Meteora AMM — Pool disabled
- Raydium LaunchLab — Pool not migrated yet
6001 (0x1771) — 4 programs, 3 meanings
- Jupiter — Slippage tolerance exceeded
- Jupiter v4 — Slippage tolerance exceeded
- Raydium CPMM — Input account owner is not the program address
- Pump.fun — The program is already initialized
6008 (0x1778) — 4 programs, 4 meanings
- Jupiter — Not enough account keys
- Raydium CPMM — Invalid vault
- Pump.fun — Withdraw attempted too frequently
- Raydium CLMM — Tick not aligned to spacing
6009 (0x1779) — 4 programs, 4 meanings
- Jupiter — Non-zero minimum out amount not supported
- Raydium CPMM — Init lp amount is too less
- Meteora DLMM — Bin array not found
- Raydium LaunchLab — Nothing to collect
6017 (0x1781) — 4 programs, 4 meanings
- Jupiter — Exact-out amount not matched
- Orca — Exceeded token max
- Raydium CLMM — Price slippage check
- Raydium LaunchLab — Token-2022 extension not supported
6018 (0x1782) — 4 programs, 4 meanings
- Jupiter — Source and destination mint are the same
- Orca — Token min subceeded
- Raydium CLMM — Too little output received
- Raydium LaunchLab — Not enough remaining accounts
6019 (0x1783) — 4 programs, 4 meanings
- Jupiter — Invalid mint account
- Raydium CLMM — Too much input paid
- Meteora AMM — Source and destination are the same
- Raydium LaunchLab — Transfer fee calculation mismatch
6023 (0x1787) — 4 programs, 4 meanings
- Jupiter — Invalid authority
- Pump.fun — Not enough tokens to sell
- Orca — Invalid tick array sequence
- Raydium CLMM — Not enough tick array accounts
6000 (0x1770) — 3 programs, 3 meanings
- Jupiter — Empty route
- Raydium CPMM — Not approved
- Pump.fun — Not authorized
6002 (0x1772) — 3 programs, 3 meanings
- Jupiter — Invalid calculation in the route
- Raydium CPMM — Input token account empty
- Pump.fun — Too much SOL required to buy
6010 (0x177a) — 3 programs, 3 meanings
- Jupiter — Invalid route plan
- Raydium CPMM — TransferFee calculate not match
- Pump.fun — Account type not supported
6013 (0x177d) — 3 programs, 3 meanings
- Jupiter — Invalid token ledger
- Raydium CPMM — Invalid fee model
- Raydium LaunchLab — No vesting schedule
6020 (0x1784) — 3 programs, 3 meanings
- Jupiter — Invalid program authority
- Pump.fun — Buy zero amount
- Raydium CLMM — Swap amount is zero
6022 (0x1786) — 3 programs, 3 meanings
- Jupiter — Invalid fee wallet
- Pump.fun — Sell zero amount
- Raydium CLMM — Swap amount too small
6040 (0x1798) — 3 programs, 3 meanings
- Pump.fun — Not enough SOL to cover rent exemption
- Raydium CLMM — Limit order already filled
- Meteora AMM — Token amount is not 1:1
6041 (0x1799) — 3 programs, 3 meanings
- Pump.fun — Not enough SOL to cover fees
- Raydium CLMM — Invalid limit order phase
- Meteora AMM — Amount is zero
6042 (0x179a) — 3 programs, 3 meanings
- Pump.fun — Slippage: would buy less than min_tokens_out
- Meteora DLMM — Pool disabled
- Raydium CLMM — Invalid limit order amount
6011 (0x177b) — 2 programs, 2 meanings
- Jupiter — Invalid referral authority
- Raydium CPMM — Math overflow
6014 (0x177e) — 2 programs, 2 meanings
- Jupiter — Incorrect token program ID
- Raydium CPMM — Fee is zero
6016 (0x1780) — 2 programs, 2 meanings
- Jupiter — Swap not supported
- Raydium CLMM — Liquidity insufficient for withdrawal
6021 (0x1785) — 2 programs, 2 meanings
- Jupiter — Invalid output token account
- Pump.fun — Not enough tokens to buy
6024 (0x1788) — 2 programs, 2 meanings
- Jupiter — Swap short of input funds
- Pump.fun — Overflow
6027 (0x178b) — 2 programs, 2 meanings
- Pump.fun — Not enough remaining accounts
- Meteora DLMM — Invalid bin array
6036 (0x1794) — 2 programs, 2 meanings
- Orca — Amount out below minimum
- Raydium CLMM — Not enough liquidity in this direction
6037 (0x1795) — 2 programs, 2 meanings
- Orca — Amount in above maximum
- Meteora DLMM — Cannot find non-zero liquidity bin array id
6039 (0x1797) — 2 programs, 2 meanings
- Meteora DLMM — Insufficient out amount
- Raydium CLMM — Transfer fee calculation mismatch
6043 (0x179b) — 2 programs, 2 meanings
- Pump.fun — Name too long
- Meteora AMM — Amount is not enough
6044 (0x179c) — 2 programs, 2 meanings
- Pump.fun — Symbol too long
- Meteora AMM — Invalid activation duration
6045 (0x179d) — 2 programs, 2 meanings
- Pump.fun — Uri too long
- Meteora AMM — Pool is not a launch pool
6046 (0x179e) — 2 programs, 2 meanings
- Pump.fun — Create v2 disabled
- Meteora AMM — Activation point cannot be modified
6050 (0x17a2) — 2 programs, 2 meanings
- Orca — Unable to call transfer hook without extra accounts
- Meteora AMM — Swap attempted before activation
6056 (0x17a8) — 2 programs, 2 meanings
- Pump.fun — Cashback is not enabled
- Meteora AMM — Incorrect associated token account
6064 (0x17b0) — 2 programs, 2 meanings
- Orca — Trade is not enabled yet
- Meteora AMM — Not the owner of the LP token account
Small numbers: SPL Token, Token-2022 and native AMMs
Programs that do not use Anchor — SPL Token, Token-2022 and native AMMs like Raydium AMM v4 — use small u32 codes starting at 0. These collide just as hard: code 2 means "invalid account owner" to the token programs and something unrelated to Raydium AMM v4. On-chain you can only tell them apart by which program ID logged the error.
2 (0x2) — 3 programs, 2 meanings
- SPL Token — Invalid mint account
- Token-2022 — Invalid mint account
- Raydium AMM v4 — Expected mint
19 (0x13) — 3 programs, 2 meanings
- SPL Token — Instruction does not support non-native tokens
- Token-2022 — Instruction does not support non-native tokens
- Raydium AMM v4 — Invalid supply
5 (0x5) — 2 programs, 1 meaning
- SPL Token — Fixed supply — cannot mint more
- Token-2022 — Fixed supply — cannot mint more
6 (0x6) — 2 programs, 1 meaning
- SPL Token — Token account already initialized
- Token-2022 — Token account already initialized
7 (0x7) — 2 programs, 1 meaning
- SPL Token — Invalid number of provided signers
- Token-2022 — Invalid number of provided signers
8 (0x8) — 2 programs, 1 meaning
- SPL Token — Invalid number of required signers
- Token-2022 — Invalid number of required signers
9 (0x9) — 2 programs, 1 meaning
- SPL Token — Uninitialized account state
- Token-2022 — Uninitialized account state
10 (0xa) — 2 programs, 1 meaning
- SPL Token — Instruction does not support native SOL
- Token-2022 — Instruction does not support native SOL
11 (0xb) — 2 programs, 1 meaning
- SPL Token — Account not empty — cannot close
- Token-2022 — Account not empty — cannot close
12 (0xc) — 2 programs, 1 meaning
- SPL Token — Invalid token instruction data
- Token-2022 — Invalid token instruction data
15 (0xf) — 2 programs, 1 meaning
- SPL Token — Authority type not supported
- Token-2022 — Authority type not supported
16 (0x10) — 2 programs, 1 meaning
- SPL Token — This mint cannot freeze accounts
- Token-2022 — This mint cannot freeze accounts
18 (0x12) — 2 programs, 1 meaning
- SPL Token — Decimals mismatch
- Token-2022 — Decimals mismatch
22 (0x16) — 2 programs, 2 meanings
- Token-2022 — Extension already initialized on this account
- Raydium AMM v4 — Invalid status
29 (0x1d) — 2 programs, 2 meanings
- Token-2022 — No authority exists to perform the desired operation
- Raydium AMM v4 — Invalid input
30 (0x1e) — 2 programs, 2 meanings
- Token-2022 — Transfer fee exceeds maximum
- Raydium AMM v4 — Exceeded desired slippage limit
31 (0x1f) — 2 programs, 2 meanings
- Token-2022 — Mint required for this account to transfer tokens
- Raydium AMM v4 — Calculation exchange rate failed
32 (0x20) — 2 programs, 2 meanings
- Token-2022 — Calculated fee does not match expected fee
- Raydium AMM v4 — Checked subtraction overflow
40 (0x28) — 2 programs, 2 meanings
- Token-2022 — CPI Guard blocked a transfer
- Raydium AMM v4 — Insufficient funds
Codes claimed by only one program
Every other code in the catalogue is unique to its program and lives on its own detail page — start from the Solana error hub, or paste the whole log line into the log decoder and it picks the program for you.