InvalidTickArraySequence
Orca Whirlpools · Custom(6023) · 0x1787
custom program error: 0x1787
What it means
The tick arrays passed with this Orca swap do not cover the price the pool is at now: the route was built for a price range the pool has since left. A swap cannot be re-pointed at other accounts after the fact.
The program's own message: “Invalid tick array sequence provided for instruction.”
What to do
Get a fresh quote so the SDK picks the tick arrays for the current price. Retrying this transaction cannot succeed.
Have the transaction that failed with this?
Paste its signature. TxWhy shows the exact instruction and inner call that raised the error, and rebuilds the transaction when the cause is one it can fix (compute limit, expired blockhash, priority fee, a stale swap quote or a moved limit).
Code 6023 means something else in other programs
Custom codes are private to each program. Check which program actually raised it: it is the innermost failed call, not necessarily the program you called.
- OperatorAlreadyAddedBoop
- PriceBandsBreachedDrift V2
- InvalidPostFeeAmountHeaven DEX
- AddressMismatchJupiter DCA
- InvalidBasisPointsMagic Eden V2
- InvalidBasisPointsMetaplex Auction House
- AlreadyUnverifiedMetaplex Bubblegum
- InvalidStringMetaplex Candy Machine
- FunderIsInvalidMetaplex Fixed Price Sale
- RemoveSharesMustBeZeroMetaplex Hydra
- MisMatchedCurveMeteora AMM
- InsufficientLiquidityMeteora CP AMM (DAMM V2)