Error codes / 0x178c
custom program error: 0x178c
Custom(6028) · 0x178c · used by 21 programs we know
This number has no meaning on its own. Each Solana program numbers its own errors, so 0x178c is OnlyCanonicalPumpPoolsCanHaveCoinCreator in PumpSwap AMM but AllFeeRecipientsShouldBeNonZero in Pump.fun Bonding Curve. 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 0x178c, explains it, and rebuilds the transaction when the cause is one it can fix.
What 0x178c means, by program
- OnlyCanonicalPumpPoolsCanHaveCoinCreatorPumpSwap AMM
The program raised this named error and published no further explanation.
- AllFeeRecipientsShouldBeNonZeroPump.fun Bonding Curve
All fee recipients should be non-zero
- FeeRateMaxExceededOrca Whirlpools
Exceeded max fee rate
- NonContinuousBinArraysMeteora DLMM
Bin arrays must be continuous
- SwapAmountTooHighBoop
Swap amount exceeds the reasonable limit to leave as liquidity
- DiscountTokenNotFoundDrift V2
Discount token not found
- InvalidProtocolQuoteTokenSwapFeeVaultHeaven DEX
Invalid protocol quote token swap fee vault
- MissingSwapInstructionsJupiter DCA
Missing Swap Instruction
- InvalidRemainingAccountsWithoutProgramAsSignerMagic Eden V2
Invalid remainning accounts without program_as_signer
- InvalidAuctioneerMetaplex Auction House
Invalid Auctioneer for this Auction House instance.
- InvalidCollectionAuthorityMetaplex Bubblegum
The program raised this named error and published no further explanation.
- MismatchedCollectionPDAMetaplex Candy Machine
Collection PDA address is invalid
- MetadataCreatorsIsEmptyMetaplex Fixed Price Sale
Metadata creators is empty
- InvalidRemainingAccountsMeteora AMM
Invalid remaining account
- InvalidRewardDurationMeteora CP AMM (DAMM V2)
Invalid reward duration
- UnsupportNativeMintToken2022Meteora Dynamic Bonding Curve
Unsupport native mint token 2022
- MarketCapThresholdTooLowMoonshot
Market cap Threshold under the Hard lower bound limits
- InvalidSanctumSwapAccountsOKX DEX Aggregation Router V2
Invalid sanctum swap accounts
- InvalidOrderPostMarketOpenBook V2
Market is not a PostOrderType
- InvalidFirstTickArrayAccountRaydium AMM V3 (CLMM)
Invalid first tick array account
- PoolNotMarginatedTensor
expected a marginated pool to be passed in