Error codes / 0x179a
custom program error: 0x179a
Custom(6042) · 0x179a · used by 15 programs we know
This number has no meaning on its own. Each Solana program numbers its own errors, so 0x179a is BuySlippageBelowMinTokensOut in Pump.fun Bonding Curve but DuplicateTwoHopPool in Orca Whirlpools. 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 0x179a, explains it, and rebuilds the transaction when the cause is one it can fix.
What 0x179a means, by program
- BuySlippageBelowMinTokensOutPump.fun Bonding Curve
The swap would have paid out less than the minimum this transaction allowed (or cost more than its maximum). 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.
- DuplicateTwoHopPoolOrca Whirlpools
The program keeps a nonce per order and this one was already used: the same order was sent twice and the second copy failed. The first copy is the one that counts; there is nothing to resend.
- PoolDisabledMeteora DLMM
Pool disabled
- InvalidOrderDrift V2
The program raised this named error and published no further explanation.
- SimpleAmmBaseTokenCannotHaveFreezeAuthorityHeaven DEX
Simple amm base token mint cannot have freeze authority
- UnexpectedWSOLLeftoverJupiter DCA
Should not have WSOL leftover in DCA out-token account
- AuctioneerAuthorityMismatchMetaplex Auction House
Auctioneer Authority Mismatch
- IncorrectFreezeAtaMetaplex Candy Machine
Incorrect freeze ATA address.
- WrongCollectionMintKeyMetaplex Fixed Price Sale
Wrong collection mint key
- TypeCastFailedMeteora AMM
Type cast error
- InvalidPoolCreatorMeteora CP AMM (DAMM V2)
Invalid pool creator
- InvalidFeeRateLimiterMeteora Dynamic Bonding Curve
Invalid fee rate limiter
- TrimAccountIsNoneOKX DEX Aggregation Router V2
Trim account is none
- NonEmptyOpenOrdersPositionOpenBook V2
Cannot close a non-empty open orders account
- MaxTokenOverflowRaydium AMM V3 (CLMM)
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.