Home / Solana errors / 0x1777

custom program error 0x1777

0x1777 is hexadecimal for 6007. 5 programs in our catalogue can raise it, with 5 different meanings between them. Which one you hit is decided by the program ID in the log line — not by the number.

Paste your log and decode it

What 0x1777 means, program by program

ProgramMeaning of 0x1777 there
Jupiter
JUP6…TaV4
Invalid token output index
The transaction referenced a token output index that does not exist in the route. An account-listing bug in whatever assembled the transaction.
Raydium CPMM
CPMM…KP1C
Not support token_2022 mint extension
The token is a Token-2022 mint using an extension CPMM cannot handle safely — most often TransferHook, or DefaultAccountState set to Frozen.
Pump.fun
6EF8…wF6P
The program is not initialized
The account the instruction depends on has not been created yet — usually a missing bonding curve or global config for that mint.
Meteora DLMM
LBUZ…Pwxo
Zero liquidity
The liquidity amount computed to zero. The deposit is too small for the bin range, or the position has nothing left to withdraw.
Raydium LaunchLab
LanM…J3uj
Migration type mismatch
A migration call named a migration target type the pool wasn't configured for. LaunchLab pools declare where they graduate to at creation; the migrate instruction must match it.

The same code in real logs

Every line below is a genuine failure message for 0x1777 — same number, different owner:

The pubkey after Program is what decides the meaning. Match it against the table rather than guessing from the number.

How to tell which program raised yours

  1. Read the program ID. The log line reads Program <pubkey> failed: custom program error: 0x1777. That pubkey is the owner of the error table — match it against the table above.
  2. No pubkey left in the log? The failed instruction still names its owner: token instructions (transfer, transferChecked, mintTo, burn) belong to a token program; swap, deposit and withdraw instructions belong to an AMM; tick arrays mean concentrated liquidity — Orca, Raydium CLMM or Meteora DLMM — and bins mean Meteora DLMM; a bonding-curve account means pump.fun or Raydium LaunchLab.
  3. Convert before you search. 0x1777 and 6007 are the same code; docs, RPC error objects and blog posts quote it in different bases, and searching the wrong one returns unrelated programs.

Other codes with the same collision problem

The full picture — all 58 contested codes at once — is on the cross-program error code index.