Tx Doctor / Solana error library / Bin array not found
Solana error: Bin array not found (0x1779)
A bin array account the instruction needs does not exist on chain. DLMM stores bins in arrays of fixed size, and an array is only created when liquidity first reaches that range.
Why it happens
- The target bin falls in a range where no LP has ever deposited, so its array was never initialised.
- A cached array address was reused after a pool was recreated.
- The array index was derived with the wrong bins-per-array constant.
- A swap crossed into a bin range whose array was closed after all liquidity left.
How to fix it
- Re-fetch the bin arrays for the current active bin instead of reusing cached addresses.
- Derive the array PDA from the pool address and index using the program's constant.
- For deposits, choose a bin range whose arrays exist, or create the position through the SDK which handles array initialisation.
- If a swap needs an uninitialised array, the price range is empty — route elsewhere.
What it looks like in the logs
Program LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo failed: custom program error: 0x1779 RPC simulation: Transaction simulation failed: Error processing Instruction: custom program error: 0x1779 Wallet UI: "Transaction failed" — custom program error 0x1779 (6009)
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.
The same number means something else on another program
Anchor assigns custom error codes by enum order starting at 6000, so this number is local to this program. The rows below show what the very same number means on the other programs.
| Program | 0x1779 = 6009 |
|---|---|
| Jupiter | Non-zero minimum out amount not supported |
| Raydium CPMM | Init lp amount is too less |
| Raydium LaunchLab | Nothing to collect |
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 transactionRelated 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)
Invalid bin array
Meteora DLMM 6027 (0x178b)
Bin arrays must be continuous
Meteora DLMM 6028 (0x178c)
Not enough tick array accounts
Raydium CLMM 6023 (0x1787)