Home / Solana errors / 0x177c

custom program error 0x177c

0x177c is hexadecimal for 6012. 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 0x177c means, program by program

ProgramMeaning of 0x177c there
Jupiter
JUP6…TaV4
Token ledger account mismatch
The route used a token ledger to track intermediate amounts, but the token account checked against it was not the one recorded. Routing assembly mismatch.
Raydium CPMM
CPMM…KP1C
Insufficient vault
The pool vault does not hold enough of the output token to cover this trade. The pool's real liquidity is smaller than the quote implied.
Orca
whir…tyCc
Liquidity amount must be greater than zero
The deposit computed to zero liquidity. The amounts you supplied are too small relative to the position's price range to mint any liquidity units.
Meteora DLMM
LBUZ…Pwxo
Pair insufficient liquidity
There is not enough liquidity in the reachable bins to complete the swap, even allowing for slippage. The pool ran out of tokens on the side you are buying.
Raydium LaunchLab
LanM…J3uj
Vesting has not started
A vesting claim was attempted before the schedule's start time. Creator allocations on LaunchLab unlock on a timer; claiming early is rejected by design.

The same code in real logs

Every line below is a genuine failure message for 0x177c — 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: 0x177c. 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. 0x177c and 6012 are the same code; docs, RPC error objects and blog posts quote it in different bases, and searching the wrong one returns unrelated programs.

Narrow it by what the error is about

If the message you are looking at is about none of these, it came from a program outside this list — check the program ID before assuming it is one of the 5 above.

Other codes with the same collision problem

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