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
Slippage: Would buy less tokens than expected min_tokens_out
- DuplicateTwoHopPoolOrca Whirlpools
Duplicate two hop pool
- 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.