Solana error codes › Orca Whirlpools
65 error codes defined by Orca Whirlpools (program ID whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc). In logs they appear as custom program error: 0x… after Program whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc failed.
Custom errors start at 6000 (0x1770). If a code is below 6000 and not listed here, see the Anchor framework errors.
The swap would return less than the minimum output set in the transaction.
What to do: Retry with a fresh quote; a higher slippage allows a worse price.
| Hex | Code | Error |
|---|---|---|
| 0x1770 | 6000 | InvalidEnum Enum value could not be converted |
| 0x1771 | 6001 | InvalidStartTick Invalid start tick index provided. |
| 0x1772 | 6002 | TickArrayExistInPool Tick-array already exists in this whirlpool |
| 0x1773 | 6003 | TickArrayIndexOutofBounds Attempt to search for a tick-array failed |
| 0x1774 | 6004 | InvalidTickSpacing Tick-spacing is not supported |
| 0x1775 | 6005 | ClosePositionNotEmpty Position is not empty It cannot be closed |
| 0x1776 | 6006 | DivideByZero Unable to divide by zero The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x1777 | 6007 | NumberCastError Unable to cast number into BigInt The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x1778 | 6008 | NumberDownCastError Unable to down cast number The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x1779 | 6009 | TickNotFound Tick not found within tick array |
| 0x177a | 6010 | InvalidTickIndex Provided tick index is either out of bounds or uninitializable |
| 0x177b | 6011 | SqrtPriceOutOfBounds Provided sqrt price out of bounds |
| 0x177c | 6012 | LiquidityZero Liquidity amount must be greater than zero |
| 0x177d | 6013 | LiquidityTooHigh Liquidity amount must be less than i64::MAX |
| 0x177e | 6014 | LiquidityOverflow Liquidity overflow The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x177f | 6015 | LiquidityUnderflow Liquidity underflow The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x1780 | 6016 | LiquidityNetError Tick liquidity net underflowed or overflowed |
| 0x1781 | 6017 | TokenMaxExceeded Exceeded token max |
| 0x1782 | 6018 | TokenMinSubceeded Did not meet token min |
| 0x1783 | 6019 | MissingOrInvalidDelegate Position token account has a missing or invalid delegate |
| 0x1784 | 6020 | InvalidPositionTokenAmount Position token amount must be 1 |
| 0x1785 | 6021 | InvalidTimestampConversion Timestamp should be convertible from i64 to u64 |
| 0x1786 | 6022 | InvalidTimestamp Timestamp should be greater than the last updated timestamp |
| 0x1787 | 6023 | InvalidTickArraySequence Invalid tick array sequence provided for instruction. |
| 0x1788 | 6024 | InvalidTokenMintOrder Token Mint in wrong order |
| 0x1789 | 6025 | RewardNotInitialized Reward not initialized The name points to account state: an account was expected to exist (or not exist) already. |
| 0x178a | 6026 | InvalidRewardIndex Invalid reward index |
| 0x178b | 6027 | RewardVaultAmountInsufficient Reward vault requires amount to support emissions for at least one day |
| 0x178c | 6028 | FeeRateMaxExceeded Exceeded max fee rate |
| 0x178d | 6029 | ProtocolFeeRateMaxExceeded Exceeded max protocol fee rate |
| 0x178e | 6030 | MultiplicationShiftRightOverflow Multiplication with shift right overflow The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x178f | 6031 | MulDivOverflow Muldiv overflow The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x1790 | 6032 | MulDivInvalidInput Invalid div_u256 input |
| 0x1791 | 6033 | MultiplicationOverflow Multiplication overflow The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x1792 | 6034 | InvalidSqrtPriceLimitDirection Provided SqrtPriceLimit not in the same direction as the swap. |
| 0x1793 | 6035 | ZeroTradableAmount There are no tradable amount to swap. |
| 0x1794 | 6036 | AmountOutBelowMinimum Amount out below minimum threshold The swap would return less than the minimum output set in the transaction. |
| 0x1795 | 6037 | AmountInAboveMaximum Amount in above maximum threshold |
| 0x1796 | 6038 | TickArraySequenceInvalidIndex Invalid index for tick array sequence |
| 0x1797 | 6039 | AmountCalcOverflow Amount calculated overflows The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x1798 | 6040 | AmountRemainingOverflow Amount remaining overflows The name points to a checked arithmetic failure inside the program, often from extreme amounts or an outdated client. |
| 0x1799 | 6041 | InvalidIntermediaryMint Invalid intermediary mint |
| 0x179a | 6042 | DuplicateTwoHopPool Duplicate two hop pool |
| 0x179b | 6043 | InvalidBundleIndex Bundle index is out of bounds |
| 0x179c | 6044 | BundledPositionAlreadyOpened Position has already been opened |
| 0x179d | 6045 | BundledPositionAlreadyClosed Position has already been closed |
| 0x179e | 6046 | PositionBundleNotDeletable Unable to delete PositionBundle with open positions |
| 0x179f | 6047 | UnsupportedTokenMint Token mint has unsupported attributes |
| 0x17a0 | 6048 | RemainingAccountsInvalidSlice Invalid remaining accounts |
| 0x17a1 | 6049 | RemainingAccountsInsufficient Insufficient remaining accounts |
| 0x17a2 | 6050 | NoExtraAccountsForTransferHook Unable to call transfer hook without extra accounts |
| 0x17a3 | 6051 | IntermediateTokenAmountMismatch Output and input amount mismatch |
| 0x17a4 | 6052 | TransferFeeCalculationError Transfer fee calculation failed |
| 0x17a5 | 6053 | RemainingAccountsDuplicatedAccountsType Same accounts type is provided more than once |
| 0x17a6 | 6054 | FullRangeOnlyPool This whirlpool only supports full-range positions |
| 0x17a7 | 6055 | TooManySupplementalTickArrays Too many supplemental tick arrays provided |
| 0x17a8 | 6056 | DifferentWhirlpoolTickArrayAccount TickArray account for different whirlpool provided |
| 0x17a9 | 6057 | PartialFillError Trade resulted in partial fill |
| 0x17aa | 6058 | PositionNotLockable Position is not lockable |
| 0x17ab | 6059 | OperationNotAllowedOnLockedPosition Operation not allowed on locked position |
| 0x17ac | 6060 | SameTickRangeNotAllowed Cannot reset position range with same tick range |
| 0x17ad | 6061 | InvalidAdaptiveFeeConstants Invalid adaptive fee constants |
| 0x17ae | 6062 | InvalidFeeTierIndex Invalid fee tier index |
| 0x17af | 6063 | InvalidTradeEnableTimestamp Invalid trade enable timestamp |
| 0x17b0 | 6064 | TradeIsNotEnabled Trade is not enabled yet The name points to a feature or pool state that currently blocks this action. |
Free, no sign-up, nothing to connect. Works offline from a bundled list; we do not look anything up on-chain.
Swapping a token you do not know? A free Rugsight check shows mint and freeze authority, Token-2022 extensions, holder concentration and liquidity before you trade.
Source: solana-idls@1.2.1. Data: program error lists from published IDLs (solana-idls 1.2.1, MIT) and the System, SPL Token, Token-2022 and Associated Token Account source code, snapshot 2026-11-16. Programs can be upgraded and add or change errors; the failing program's current IDL is the final word.