Tx Doctor / Solana error library / Bin arrays must be continuous

Meteora DLMM 6028 (0x178c)0x178c

Solana error: Bin arrays must be continuous (0x178c)

The bin arrays supplied have a gap: the ones needed for this operation must be consecutive so the program can walk from one to the next without missing a range.

Why it happens

How to fix it

  1. Pass every array between the start and end bin, including arrays with no liquidity.
  2. Fetch the whole range in a single call so indices are consistent.
  3. Use the SDK's sequence builder, which fills gaps automatically.
  4. If the transaction is too large, reduce the trade so it spans fewer arrays.

What it looks like in the logs

Program LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo failed: custom program error: 0x178c

RPC simulation:
  Transaction simulation failed: Error processing Instruction : custom program error: 0x178c

Wallet UI:
  "Transaction failed" — custom program error 0x178c (6028)

One failure, three places it shows up: the raw transaction log, the RPC simulation error, and the wallet's short message. Match on the code, never on the wording.

What this means for your funds

Solana transactions are atomic: if any instruction fails, every state change in that transaction is reverted, so token balances end exactly where they started. The network fee is still charged, because validators did the work of executing and rejecting it. A failed transaction never moves your tokens to someone else.

Seeing this error right now? Paste your transaction signature and get the exact instruction, program and code that failed.

Diagnose my transaction

Related Solana errors

Source and destination are the same

Meteora AMM 6019 (0x1783)

Incorrect associated token account

Meteora AMM 6056 (0x17a8)

Invalid zap accounts

Meteora AMM 6061 (0x17ad)

Bin array not found

Meteora DLMM 6009 (0x1779)

Invalid bin array

Meteora DLMM 6027 (0x178b)

Not enough tick array accounts

Raydium CLMM 6023 (0x1787)