Solana error codes › 0x1776

custom program error: 0x1776 (6006)

0x1776 is decimal 6006. Its meaning depends on the program that failed: InvalidInputIndex in Jupiter Aggregator v6, BondingCurveNotComplete in Pump.fun Bonding Curve, UnsupportedBaseMint in PumpSwap AMM and 28 more below.

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

0x1776 by program

ProgramError
Jupiter Aggregator v6InvalidInputIndex
Token input index is invalid
Pump.fun Bonding CurveBondingCurveNotComplete
The bonding curve has not completed.
The name points to a feature or pool state that currently blocks this action.
PumpSwap AMMUnsupportedBaseMint
Raydium CPMM (CP Swap)ZeroTradingTokens
Given pool token amount results in zero trading tokens
Raydium AMM V3 (CLMM)InvalidTickIndex
Tick out of range
Meteora DLMMNonPresetBinStep
Non preset bin step
Meteora CP AMM (DAMM V2)AmountIsZero
Amount is zero
Meteora Dynamic Bonding CurveTypeCastFailed
Type cast error
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
Orca WhirlpoolsDivideByZero
Unable to divide by zero
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
Raydium LaunchpadPoolMigrated
Pool migrated
MoonshotInvalidCurveAccount
Invalid curve account.
Jupiter Aggregator v4InAmountsStackIsEmpty
In amounts stack is empty
OKX DEX Aggregation Router V2TotalAmountsMustBeEqualToAmountIn
total_amounts must be equal to amount_in
BoopFirstBuyMustBeAtMost50PercentOfTotalSupply
First buy must be at most 50% of the total supply
Meteora AMMZeroTradingTokens
Given pool token amount results in zero trading tokens
Drift V2AdminControlsPricesDisabled
Admin Controls Prices Disabled
The name points to a feature or pool state that currently blocks this action.
Heaven DEXCannotCreatePoolWithDisabledProtocolConfigVersion
Cannot create pool with the a disabled protocol config version
The name points to a feature or pool state that currently blocks this action.
Jupiter DCAInAmountInsufficient
In amount needs to be more than in amount per cycle
Jupiter Limit OrderInvalidPair
Magic Eden V2NotRentExempt
Metaplex Auction HouseNotRentExempt
Metaplex AuctioneerNotHighestBidder
Execute Sale must be run on the highest bidder
Metaplex BubblegumCreatorDidNotVerify
Creator did not verify the metadata
Metaplex Candy MachineUuidMustBeExactly6Length
Uuid must be exactly of 6 length
Metaplex Fixed Price SaleDerivedKeyInvalid
Derived key invalid
Metaplex HydraInvalidMembershipModel
Invalid Membership Model
Metaplex Token EntanglerNotRentExempt
Obric V2BigKLacksPrecision
Computation lacks precision
OpenBook V2InvalidInputOrdersAmounts
Input amounts above limits
TensorMissingFees
when setting up a Trade pool, must provide fee bps & fee vault
TON Whales HoldersIncorrectTransferredB

Same code, other formats

custom program error: 0x1776 · {"Custom":6006} · Custom(6006) · Error Number: 6006

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.

← 0x1775 · 0x1777 → · 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.