Error codes / 0x178b
custom program error: 0x178b
Custom(6027) · 0x178b · used by 21 programs we know
This number has no meaning on its own. Each Solana program numbers its own errors, so 0x178b is AccountTypeNotSupported in PumpSwap AMM but NotEnoughRemainingAccounts 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 0x178b, explains it, and rebuilds the transaction when the cause is one it can fix.
What 0x178b means, by program
- AccountTypeNotSupportedPumpSwap AMM
The program raised this named error and published no further explanation.
- NotEnoughRemainingAccountsPump.fun Bonding Curve
The account does not hold enough of the token or SOL this instruction tried to spend.
- RewardVaultAmountInsufficientOrca Whirlpools
Reward vault requires amount to support emissions for at least one day
- InvalidBinArrayMeteora DLMM
Invalid bin array
- SwapFeeBasisPointsTooHighBoop
Swap fee basis points too high
- InvalidDiscountTokenDrift V2
Invalid discount token
- InvalidProtocolBaseTokenSwapFeeVaultHeaven DEX
Invalid protocol base token swap fee vault
- NoRepaymentInstructionFoundJupiter DCA
No Repayment Found
- InvalidPriceMagic Eden V2
Invalid price
- InstructionMismatchMetaplex Auction House
The instruction does not match
- MetadataMintMismatchMetaplex Bubblegum
Metadata mint does not match collection mint
- IncorrectCollectionAuthorityMetaplex Candy Machine
Incorrect collection NFT authority
- SellingResourceAlreadyTakenMetaplex Fixed Price Sale
Selling resource already taken by other market
- InvalidRemainingAccountsLenMeteora AMM
Invalid remaining accounts length
- InvalidRewardIndexMeteora CP AMM (DAMM V2)
Invalid reward index
- TotalBaseTokenExceedMaxSupplyMeteora Dynamic Bonding Curve
Total base token is exceeded max supply
- CoefficientZeroMoonshot
One of the Coefficients is equal to ZERO
- InvalidSanctumLstStateListIndexOKX DEX Aggregation Router V2
Invalid sanctum lst state list index
- InvalidOrderPostIOCOpenBook V2
ImmediateOrCancel is not a PostOrderType
- NotEnoughTickArrayAccountRaydium AMM V3 (CLMM)
Not enought tick array account
- BadMarginTensor
bad margin account passed