What the error means
Error Code: LiquidityLocked. Error Number: 6055.
You tried to remove liquidity in the same slot it was added. DLMM blocks that to prevent just-in-time liquidity; it works one slot later.
| Where it comes from | Meteora DLMM program |
| Code | 6055 (0x17a7) |
How to fix it
- Wait a moment and remove again in a later slot.
- If your bot adds and removes in one transaction or slot, separate the steps.
If that is not it
- If the position is a locked position by design, it can only be withdrawn after its lock ends.
More fixes: how to decode any Solana error code and why Solana transactions fail.
Source
Error text and code from Meteora DLMM IDL (MeteoraAg/dlmm-sdk); our mainnet-fork test, read on 24 October 2026.
