Solana error codes › 0x1778

custom program error: 0x1778 (6008)

0x1778 is decimal 6008. Its meaning depends on the program that failed: NotEnoughAccountKeys in Jupiter Aggregator v6, WithdrawTooFrequent in Pump.fun Bonding Curve, InvalidBaseMint in PumpSwap AMM and 29 more below.

Programs that use Anchor-style numbering start their own error list at 6000 (0x1770), so 6008 is the error at index 8 of the failing program's list. The same number means something different in every program.

0x1778 by program

ProgramError
Jupiter Aggregator v6NotEnoughAccountKeys
Not Enough Account keys
The name points to a balance check: an account holds less than the instruction needs.
Pump.fun Bonding CurveWithdrawTooFrequent
Withdraw too frequent
PumpSwap AMMInvalidBaseMint
Raydium CPMM (CP Swap)InvalidVault
invaild vault
Raydium AMM V3 (CLMM)TickLowerOverflow
The tick must be greater, or equal to the minimum tick(-443636)
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
Meteora DLMMInvalidPosition
Invalid position
Meteora CP AMM (DAMM V2)UnableToModifyActivationPoint
Unable to modify activation point
Meteora Dynamic Bonding CurveInvalidQuoteMint
Invalid quote mint
Orca WhirlpoolsNumberDownCastError
Unable to down cast number
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
Raydium LaunchpadMathOverflow
Math overflow
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
MoonshotCurveLimit
Curve limit exceeded.
Jupiter Aggregator v4NotEnoughAccountKeys
Not Enough Account keys
The name points to a balance check: an account holds less than the instruction needs.
OKX DEX Aggregation Router V2WeightsMustSumTo100
weights must sum to 100
BoopInsufficientTokensOut
Insufficient tokens to transfer out of the bonding curve
Meteora AMMFaultyLpMint
LP mint authority must be 'A' vault lp, without freeze authority, and 0 supply
BonkSwapFeeExceededDeltaOut
Fees exceeded delta_out
Drift V2MarketIndexAlreadyInitialized
Market Index Already Initialized
The name points to account state: an account was expected to exist (or not exist) already.
Heaven DEXInvalidSwapTax
Invalid swap tax
Jupiter DCANoInATA
inAta not passed in
Jupiter Limit OrderOrderExpired
Magic Eden V2ExpectedSolAccount
Expected a sol account but got an spl token account instead
Metaplex Auction HouseExpectedSolAccount
Expected a sol account but got an spl token account instead
Metaplex AuctioneerBelowBidIncrement
The bid must match the highest bid plus the minimum bid increment
Metaplex BubblegumNoCreatorsPresent
No creators in creator Vec
Metaplex Candy MachineNotEnoughSOL
Not enough SOL to pay for this minting
The name points to a balance check: an account holds less than the instruction needs.
Metaplex Fixed Price SalePublicKeyMismatch
Metaplex HydraMintDoesNotMatch
Invalid Mint for the config
Metaplex Token EntanglerDerivedKeyInvalid
Derived key invalid
Obric V2DepositCausesUnfairPrice
Deposit causes unfair price change
OpenBook V2InvalidInputPriceLots
Expected cancel size should be greater than zero
TensorDeltaTooLarge
delta too large
TON Whales HoldersIncorrectBalanceB

Same code, other formats

custom program error: 0x1778 · {"Custom":6008} · Custom(6008) · Error Number: 6008

How to tell which program failed

  1. Open the failed transaction in an explorer (or the simulation result in your code) and read the program logs.
  2. Find the line Program <address> failed: custom program error: 0x…. If several programs failed with the same code, the first one listed is the deepest call, the one that raised it.
  3. Look the code up for that program. Error processing Instruction 2 is a zero-based index, so it points to the third instruction (often the first one after two Compute Budget instructions).

Decode your exact 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.

← 0x1777 · 0x1779 → · All Solana error codes

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.