Solana error codes › 0x1771

custom program error: 0x1771 (6001)

0x1771 is decimal 6001. Its meaning depends on the program that failed: SlippageToleranceExceeded in Jupiter Aggregator v6, AlreadyInitialized in Pump.fun Bonding Curve, ZeroBaseAmount in PumpSwap AMM and 29 more below.

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

Jupiter Aggregator v6: SlippageToleranceExceeded

The output of the swap would be lower than the minimum allowed by your slippage setting, because the price moved between the quote and execution.

What to do: Get a fresh quote and retry. Raising slippage lets the swap go through at a worse price; on thin or fast-moving tokens that difference can be large.

0x1771 by program

ProgramError
Jupiter Aggregator v6SlippageToleranceExceeded
Slippage tolerance exceeded
The output of the swap would be lower than the minimum allowed by your slippage setting, because the price moved between the quote and execution.
Pump.fun Bonding CurveAlreadyInitialized
The program is already initialized.
The name points to account state: an account was expected to exist (or not exist) already.
PumpSwap AMMZeroBaseAmount
Raydium CPMM (CP Swap)InvalidOwner
Input account owner is not the program address
The name points to a permission check: the wrong signer or owner account was passed.
Raydium AMM V3 (CLMM)NotApproved
Not approved
Meteora DLMMInvalidBinId
Invalid bin id
Meteora CP AMM (DAMM V2)InvalidFee
Invalid fee setup
Meteora Dynamic Bonding CurveInvalidFee
Invalid fee setup
Orca WhirlpoolsInvalidStartTick
Invalid start tick index provided.
Raydium LaunchpadInvalidOwner
Input account owner is not the program address
The name points to a permission check: the wrong signer or owner account was passed.
MoonshotInvalidAmount
The amount must be available in the curve .
Jupiter Aggregator v4SlippageToleranceExceeded
Slippage tolerance exceeded
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
OKX DEX Aggregation Router V2MinReturnNotReached
Min return not reached
The name points to a slippage or minimum-output check: the price moved past the limit set in the transaction.
BoopAmountOutTooLow
Amount out too low
Meteora AMMInvalidFee
Invalid fee setup
BonkSwapTokenUnderflow
Token amount underflow
The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client.
Drift V2InvalidInsuranceFundAuthority
Clearing house not insurance fund authority
Heaven DEXInvalidTokenVaultBalance
Invalid token vault balance
Jupiter DCAInvalidCycleAmount
Invalid deposit amount
Jupiter Limit OrderInvalidTakingAmount
Magic Eden V2InvalidMintAuthority
Metaplex Auction HouseInvalidMintAuthority
Metaplex AuctioneerAuctionNotStarted
Auction has not started yet
The name points to a feature or pool state that currently blocks this action.
Metaplex BubblegumPublicKeyMismatch
Metaplex Candy MachineUninitialized
Account is not initialized!
The name points to account state: an account was expected to exist (or not exist) already.
Metaplex Fixed Price SaleStringIsTooLong
Some string variable is longer than allowed
Metaplex HydraInvalidAuthority
Invalid authority
The name points to a permission check: the wrong signer or owner account was passed.
Metaplex Token EntanglerInvalidMintAuthority
Obric V2Unauthorized
The name points to a permission check: the wrong signer or owner account was passed.
OpenBook V2InvalidInputNameLength
Name lenght above limit
TensorWhitelistNotVerified
whitelist not verified -- currently only verified pools supported
TON Whales HoldersIncorrectSeqno

Same code, other formats

custom program error: 0x1771 · {"Custom":6001} · Custom(6001) · Error Number: 6001

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.

← 0x1770 · 0x1772 → · 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.