Solana error codes › 0x1774

custom program error: 0x1774 (6004)

0x1774 is decimal 6004. Its meaning depends on the program that failed: InvalidSlippage in Jupiter Aggregator v6, MintDoesNotMatchBondingCurve in Pump.fun Bonding Curve, ExceededSlippage in PumpSwap AMM and 29 more below.

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

PumpSwap AMM: ExceededSlippage

The swap result is outside the slippage limit set in the transaction.

What to do: Retry with a fresh quote; a higher slippage allows a worse price.

0x1774 by program

ProgramError
Jupiter Aggregator v6InvalidSlippage
Invalid slippage
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
Pump.fun Bonding CurveMintDoesNotMatchBondingCurve
The mint does not match the bonding curve.
PumpSwap AMMExceededSlippage
The swap result is outside the slippage limit set in the transaction.
Raydium CPMM (CP Swap)IncorrectLpMint
Address of the provided lp token mint is incorrect
Raydium AMM V3 (CLMM)ClosePositionErr
Remove liquitity, collect fees owed and reward then you can close position account
Meteora DLMMExceededBinSlippageTolerance
Exceeded bin slippage tolerance
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
Meteora CP AMM (DAMM V2)ExceedMaxFeeBps
Exceeded max fee bps
Meteora Dynamic Bonding CurveInvalidAdmin
Invalid admin
The name points to a permission check: the wrong signer or owner account was passed.
Orca WhirlpoolsInvalidTickSpacing
Tick-spacing is not supported
Raydium LaunchpadExceededSlippage
Exceeds desired slippage limit
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
MoonshotThresholdReached
Threshold limit exceeded.
Jupiter Aggregator v4InvalidSlippage
Invalid slippage
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
OKX DEX Aggregation Router V2InvalidExpectAmountOut
invalid expect amount out
BoopCreatorIsNotProvided
Creator is not provided
Meteora AMMExceededSlippage
Exceeded slippage tolerance
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
BonkSwapSwapToBig
Swap too big
Drift V2SufficientCollateral
Sufficient collateral
Heaven DEXInvalidOwner
Invalid owner
The name points to a permission check: the wrong signer or owner account was passed.
Jupiter DCAInvalidMinPrice
Minimum price constraint must be greater than 0
Jupiter Limit OrderInvalidInputAccount
Magic Eden V2PublicKeysShouldBeUnique
Metaplex Auction HousePublicKeysShouldBeUnique
Metaplex AuctioneerBidTooLow
The bid was lower than the highest bid
Metaplex BubblegumCreatorShareTotalMustBe100
Metaplex Candy MachineNumericalOverflowError
Numerical overflow error!
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
Metaplex Fixed Price SaleSupplyIsGtThanAvailable
Provided supply is gt than available
Metaplex HydraNewMintAccountRequired
A New mint account must be provided
Metaplex Token EntanglerPublicKeysShouldBeUnique
Obric V2InvalidRebateArg
Invalid rebate argument
OpenBook V2InvalidInputLots
Lots cannot be negative
TensorBadFeeAccount
fee account doesn't match that stored on pool
TON Whales HoldersIncorrectWithdrawB

Same code, other formats

custom program error: 0x1774 · {"Custom":6004} · Custom(6004) · Error Number: 6004

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.

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