Error codes / 0x17a5
custom program error: 0x17a5
Custom(6053) · 0x17a5 · used by 6 programs we know
This number has no meaning on its own. Each Solana program numbers its own errors, so 0x17a5 is RemainingAccountsDuplicatedAccountsType in Orca Whirlpools but ExceedMaxSwappedAmount 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 0x17a5, explains it, and rebuilds the transaction when the cause is one it can fix.
What 0x17a5 means, by program
- RemainingAccountsDuplicatedAccountsTypeOrca Whirlpools
Same accounts type is provided more than once
- ExceedMaxSwappedAmountMeteora DLMM
Swapped amount is exceeded max swapped amount
- InvalidOrderTriggerDrift V2
The program raised this named error and published no further explanation.
- OnlySingleSwapAllowedHeaven DEX
Only single swap allowed
- InvalidFeeCurveMeteora AMM
Invalid fee curve
- TobAuthorityPdaRequiredOKX DEX Aggregation Router V2
TOB mode requires authority PDA