Home / Solana errors / 0x1771

custom program error 0x1771

0x1771 is hexadecimal for 6001. 4 programs in our catalogue can raise it, with 3 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 0x1771 means, program by program

ProgramMeaning of 0x1771 there
Jupiter
JUP6…TaV4
Slippage tolerance exceeded
The price moved further than the slippage you allowed, so the router refused to fill the trade and cancelled it. Nothing was swapped and no tokens moved.
Jupiter v4
JUP6…TaV4
Slippage tolerance exceeded
The price moved further than the slippage you allowed, so the router refused to fill the trade and cancelled it. Nothing was swapped and no tokens moved.
Raydium CPMM
CPMM…KP1C
Input account owner is not the program address
An account passed into the instruction is owned by the wrong program — usually a wrong token program (SPL Token vs Token-2022) or a PDA from a different program entirely.
Pump.fun
6EF8…wF6P
The program is already initialized
An initialize instruction ran against a store that already exists. Almost always a duplicate submission of a create/migrate call.

The same code in real logs

Every line below is a genuine failure message for 0x1771 — 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: 0x1771. 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.
  3. Convert before you search. 0x1771 and 6001 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 4 above.

Where the wording cannot help you

Jupiter and Jupiter v4 both describe this code the same way. If your only clue is the message text, the program ID is the only thing that separates them.

Other codes with the same collision problem

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