Error codes / 0x1772
custom program error: 0x1772
Custom(6002) · 0x1772 · used by 33 programs we know
This number has no meaning on its own. Each Solana program numbers its own errors, so 0x1772 is InvalidCalculation in Jupiter Aggregator v6 but NotEnoughAccounts in Lighthouse. The meaning that applies is the one from the program that actually failed: the first Program … failed line in the transaction's logs. That is often not the program you called, but one it invoked, or a guard instruction your wallet added.
Don't guess: paste the transaction
TxWhy reads the logs, finds the program and the exact instruction that raised 0x1772, explains it, and rebuilds the transaction when the cause is one it can fix.
What 0x1772 means, by program
- InvalidCalculationJupiter Aggregator v6
Invalid calculation
- NotEnoughAccountsLighthouse
The guard instruction was given fewer accounts than it needs. Lighthouse is the assertion program wallets and trading apps append to a transaction as a safety guard.
- ZeroQuoteAmountPumpSwap AMM
The program raised this named error and published no further explanation.
- TooMuchSolRequiredPump.fun Bonding Curve
slippage: Too much SOL required to buy the given amount of tokens.
- TickArrayExistInPoolOrca Whirlpools
Tick-array already exists in this whirlpool
- InvalidInputMeteora DLMM
Invalid input data
- WrongRatioBonkSwap
Wrong tokens ratio
- AmountZeroBoop
Amount zero
- InsufficientDepositDrift V2
The account does not hold enough of the token or SOL this instruction tried to spend.
- InvalidUserTokenHeaven DEX
Invalid user token
- InvalidCalculationJupiter Aggregator v4
Invalid calculation
- InvalidPairJupiter DCA
Invalid pair
- InvalidMaxTakingAmountJupiter Limit Order
The program raised this named error and published no further explanation.
- UninitializedAccountMagic Eden V2
The program raised this named error and published no further explanation.
- UninitializedAccountMetaplex Auction House
The program raised this named error and published no further explanation.
- AuctionEndedMetaplex Auctioneer
Auction has ended
- HashingMismatchMetaplex Bubblegum
The program raised this named error and published no further explanation.
- MintMismatchMetaplex Candy Machine
Mint Mismatch!
- NameIsTooLongMetaplex Fixed Price Sale
Name string variable is longer than allowed
- InsufficientSharesMetaplex Hydra
The account does not hold enough of the token or SOL this instruction tried to spend.
- UninitializedAccountMetaplex Token Entangler
The program raised this named error and published no further explanation.
- InvalidInvariantMeteora AMM
Invalid invariant d
- ExceededSlippageMeteora CP AMM (DAMM V2)
The swap would have paid out less than the minimum this transaction allowed. The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
- ExceededSlippageMeteora Dynamic Bonding Curve
The swap would have paid out less than the minimum this transaction allowed. The price moved between the moment the quote was taken and the moment the transaction executed, by more than the slippage tolerance set in the swap.
- InvalidSlippageMoonshot
The slippage must be under 100 percent.
- MismatchedTokenMintObric V2
Mismatched token mint
- AmountInMustBeGreaterThanZeroOKX DEX Aggregation Router V2
amount_in must be greater than 0
- InvalidInputMarketExpiredOpenBook V2
Market cannot be created as expired
- InvalidUpdateConfigFlagRaydium AMM V3 (CLMM)
invalid update amm config flag
- EmptySupplyRaydium CP Swap
Input token account empty
- InvalidInputRaydium Launchpad
The program raised this named error and published no further explanation.
- BadWhitelistTensor
unexpected whitelist address
- IncorrectTimestampTON Whales Holders
The program raised this named error and published no further explanation.