{"title":"Pump error 0x1787 (6023) means the seller had too few tokens for the sale","answer":"The wallet offered 368,336,437,402 of the token’s smallest units and required at least 9,841 of the payment coin’s smallest units in return. The recorded balance for the coin being sold was zero before the transaction, and Pump reported that there were too few tokens to sell. PumpSwap uses the same number for Overflow, which means a calculation went outside the range the pool can store.","next_check":"Read the balance of the seller’s token account for the coin being sold and compare it in whole smallest units with the amount in the signed sale.","log_limit":"A pasted log line alone cannot show the fee, and the meaning stays open if you cannot identify the program that failed.","json_url":"/errors/pump-6023.json","transaction_url":"/tx/3VrFBxYc6LtW2B8qbGkp3JVnL2wJSWWEaag3oJE3MtQASwSwBFzbF4fTLnoRRmMN3Tx9HKsao8Puoj6nEm6hrsn2","related_guide":"/errors/overflow","checks":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","venue":"Pump","code":6023,"hex":"0x1787","name":"NotEnoughTokensToSell","meaning":"The sale asked for more tokens than the seller had available to sell.","source":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/idl/pump.json","revision":"idl/pump.json at 639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22 from 2026-10-13","guide":"pump-6023"}],"next":"Check the mint, which is the address that identifies the coin, and the seller’s token account in the signed instruction. Read the balance for that coin in that account and rebuild the sale with a size it can cover and a minimum return you still accept.","reviewed":"2026-11-26","receipt":{"signature":"3VrFBxYc6LtW2B8qbGkp3JVnL2wJSWWEaag3oJE3MtQASwSwBFzbF4fTLnoRRmMN3Tx9HKsao8Puoj6nEm6hrsn2","fee_lamports":85000,"time":"2026-11-27 06:49:36 UTC","instruction":"SellV3","outer_index":6,"source":"decoded receipt","url":"https://explorer.solana.com/tx/3VrFBxYc6LtW2B8qbGkp3JVnL2wJSWWEaag3oJE3MtQASwSwBFzbF4fTLnoRRmMN3Tx9HKsao8Puoj6nEm6hrsn2","program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","venue":"Pump","code":6023,"hex":"0x1787","error_name":"NotEnoughTokensToSell"},"sources":[{"label":"idl/pump.json at 639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22 from 2026-10-13","url":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/idl/pump.json"},{"label":"the guide to the amounts and accounts in SellV3","url":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/docs/instructions/TRADE_V3.md"},{"label":"the guide to the seller’s token balance","url":"https://github.com/pump-fun/pump-public-docs/blob/639b87fb45c3adeffa6f7c4a1bf0cb85e392bf22/docs/instructions/SELL.md"},{"label":"the PumpSwap error list for the same number","url":"https://github.com/pump-fun/pump-public-docs/blob/8cda1fa30ea658b20909d8aedf002047119388d2/idl/pump_amm.json"}],"decoder":"/errors","report":"/wallet-report","live":{"source":"These counts come from the live stream of confirmed transactions that touch pump.fun or PumpSwap.","method":"Each transaction contributes its fee once, and a failure belongs to the program that reported it. A successful transaction belongs to the first pump.fun or PumpSwap instruction we could identify. An instruction is one step in a transaction, and its attempts include transactions that failed at a later step. The fees include the extra amount paid for priority, and one billion lamports make one SOL.","payers":"Each minute counts a sender once per instruction and outcome, and adding minutes could count the same sender twice.","updated_at":"2026-11-27 08:07:28 UTC","periods_end_at":"2026-11-27 08:07:00 UTC","windows":{"hour":{"start":"2026-11-27 07:07:00 UTC","end":"2026-11-27 08:07:00 UTC","status":"complete","errors":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","code":"6023","transactions":478,"fee_lamports":70610283,"instructions":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"Sell","outcome":"6023","transactions":330,"fee_lamports":18331833,"priority_lamports":16681833,"attempts":32295,"share":0.010218300046446818},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SellV2","outcome":"6023","transactions":27,"fee_lamports":990400,"priority_lamports":815400,"attempts":9973,"share":0.0027073097362879774},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SellV3","outcome":"6023","transactions":121,"fee_lamports":51288050,"priority_lamports":50683050,"attempts":26251,"share":0.004609348215306084}],"has_attempts":true}]},"day":{"start":"2026-11-26 08:07:00 UTC","end":"2026-11-27 08:07:00 UTC","status":"partial","errors":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","code":"6023","transactions":31220,"fee_lamports":7301264611,"instructions":[{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"Sell","outcome":"6023","transactions":20424,"fee_lamports":1918422506,"priority_lamports":1191942506,"attempts":943168,"share":0.021654678699871074},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SellV2","outcome":"6023","transactions":2169,"fee_lamports":1342712089,"priority_lamports":1330737089,"attempts":296935,"share":0.007304628959199825},{"program":"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P","instruction":"SellV3","outcome":"6023","transactions":8627,"fee_lamports":4040130016,"priority_lamports":3993725016,"attempts":997328,"share":0.008650113102209103}],"has_attempts":true}],"missing_seconds":1.2,"gaps":[{"start":"2026-11-26 16:59:28 UTC","end":"2026-11-26 16:59:30 UTC"},{"start":"2026-11-26 16:59:29 UTC","end":"2026-11-26 16:59:30 UTC"}]}}},"live_url":"/errors/live.json"}