Error codes / 0x17a2
custom program error: 0x17a2
Custom(6050) · 0x17a2 · used by 8 programs we know
This number has no meaning on its own. Each Solana program numbers its own errors, so 0x17a2 is NoExtraAccountsForTransferHook in Orca Whirlpools but WithdrawToWrongTokenAccount in Meteora DLMM. 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 0x17a2, explains it, and rebuilds the transaction when the cause is one it can fix.
What 0x17a2 means, by program
- NoExtraAccountsForTransferHookOrca Whirlpools
Unable to call transfer hook without extra accounts
- WithdrawToWrongTokenAccountMeteora DLMM
Withdraw to wrong token account
- InvalidOrderIOCDrift V2
The program raised this named error and published no further explanation.
- KaminoPriceListRefreshIxNotFoundHeaven DEX
The program raised this named error and published no further explanation.
- SizedCollectionMetadataMustBeMutableMetaplex Candy Machine
Setting a sized collection requires the collection metadata to be mutable.
- PreActivationSwapStartedMeteora AMM
Pre activation swap window started
- InvalidFeeSchedulerMeteora CP AMM (DAMM V2)
Invalid fee scheduler
- ResultMustBeGreaterThanZeroOKX DEX Aggregation Router V2
Calculation result must be greater than zero