Skip to main content
Launchpad Trade API error codes reference
Every error response follows the same format. The code field identifies the error type and the message provides a human-readable explanation.
{
  "success": false,
  "error": {
    "code": "ERROR_CODE",
    "message": "Description of what went wrong"
  }
}
Each endpoint page also lists its specific errors. This page is a consolidated reference across the entire API.

Authentication

CodeMessageCauseSolution
UNAUTHORIZEDInvalid or missing API keyAPI key is missing from the request header or is invalidAdd a valid X-API-Key header. Get your key from the Dashboard.

Rate Limiting

CodeMessageCauseSolution
RATE_LIMITRate limit exceededToo many requests in a short periodBack off and retry with exponential delay. See Rate Limits for plan-specific limits.

Wallet Validation

CodeMessageCauseSolution
INVALID_WALLETInvalid private key / Invalid wallet addressA private key or public key is malformedVerify the key is a valid base58-encoded Solana key
NO_WALLETSNo wallets providedThe wallet array is empty or missingProvide at least one wallet in the request
TOO_MANY_WALLETSMaximum 100 wallets per requestArray exceeds the per-request limitSplit into multiple requests of 100 wallets or fewer
INVALID_DESTINATIONInvalid public keyA destination address is not a valid Solana public keyCheck destination addresses for typos or invalid format
NO_DESTINATIONSNo destination walletsNo destination wallets provided in a distribute requestAdd at least one destination public key
NO_SOURCESNo source walletsNo source wallets provided in a withdraw requestAdd at least one source private key
INVALID_COUNTCount must be between 1 and 100Wallet creation count is out of rangeUse a value between 1 and 100

Token Validation

CodeMessageCauseSolution
INVALID_TOKENInvalid token addressToken address is not a valid Solana addressVerify the mint address is correct
INVALID_MINTInvalid mint addressOne of the mint addresses is malformedCheck the mint address format
NO_MINTSNo mints providedNo mint addresses in the requestAdd at least one mint address

Amount Validation

CodeMessageCauseSolution
INVALID_AMOUNTInvalid amount configurationAmount mode, value, or range is missing or invalidCheck the amount object — ensure mode is valid and required fields are present
INVALID_RANGEmin must be ≤ maxRange minimum exceeds the maximumSwap min and max or correct the values
INVALID_PERCENTPercent must be 1–100Percentage value is out of rangeUse a value between 1 and 100

Balance Errors

CodeMessageCauseSolution
INSUFFICIENT_BALANCEInsufficient SOL / Insufficient balanceWallet does not have enough SOL or tokensFund the wallet or reduce the amount
INSUFFICIENT_SOLInsufficient SOL balanceNot enough SOL for the operation costAdd SOL to cover the transaction and fees
INSUFFICIENT_TOKENSInsufficient token balanceWallet does not hold enough of the specified tokenCheck the token balance before selling
NO_BALANCENo balance for tokenWallet does not hold the specified token at allVerify the wallet address and mint are correct

Token Creation

Errors specific to Create Token.
CodeMessageCauseSolution
INVALID_NAMEToken name too longName exceeds 32 charactersShorten the token name to 32 characters or fewer
INVALID_SYMBOLToken symbol too longSymbol exceeds 10 charactersShorten the symbol to 10 characters or fewer
INVALID_IMAGEInvalid image format / Image URL must be from a supported sourceImage format not supported or URL not acceptedUse PNG, JPG, GIF, or WebP from a supported host
INVALID_SOCIALInvalid Twitter URL / Invalid Telegram URLSocial media URL format is incorrectUse the full URL (e.g., https://x.com/yourhandle)

Token Management

Errors specific to PumpFun management endpoints (claim, update, transfer, revoke).
CodeMessageCauseSolution
NOT_ADMINWallet is not the token adminThe wallet does not have admin authority over this tokenUse the wallet that created the token or currently holds admin authority
NOT_RECIPIENTWallet is not a fee recipientWallet is not in the token’s fee recipients listVerify the wallet is registered as a fee recipient
NOT_CASHBACK_TOKENToken does not have cashback enabledToken was not created with isCashback: trueOnly cashback-enabled tokens support this endpoint. See Claim Cashback
REVOKEDToken update authority has been revokedThe token can no longer be modifiedThis action is permanent — the token cannot be updated or transferred
ALREADY_REVOKEDToken update authority already revokedRevoke was already performedNo action needed — the token is already immutable
CONFIRM_REQUIREDconfirm must be trueThe confirm field is missing or set to falseSet confirm: true to acknowledge the irreversible action
SAME_OWNERNew owner is the same as currentTransfer destination is the current adminProvide a different wallet address as the new owner
INVALID_NEW_OWNERInvalid new owner addressThe new owner address is not validCheck the address format
INVALID_RECIPIENTInvalid recipient wallet addressOne of the fee recipient addresses is invalidVerify all recipient public keys
INVALID_SHAREShare must be between 1 and 100A fee share value is out of rangeUse values between 1 and 100
INVALID_SHARE_TOTALFee shares must total 100%Sum of all shares does not equal 100Adjust share values so they add up to exactly 100
TOO_MANY_RECIPIENTSMaximum 10 recipients allowedMore than 10 wallets in the recipients listReduce to 10 recipients or fewer
NO_RECIPIENTSAt least 1 recipient requiredEmpty recipients listAdd at least one fee recipient

Funding

Errors specific to Distribute and Withdraw.
CodeMessageCauseSolution
INVALID_METHODInvalid methodTransfer method is not recognizedUse DIRECT, ISOLATED, EXCHANGE, or PRIVACY
METHOD_UNAVAILABLEMethod not availableThe selected method is not yet availableUse DIRECT or ISOLATED for now

Utilities

Errors specific to Token Info, Close Accounts, and Burn.
CodeMessageCauseSolution
INVALID_FILTERInvalid filterFilter value is not recognizedUse ALL, EMPTY, or WITH_BALANCE
ACCOUNT_NOT_EMPTYAccount has balanceToken account still holds tokens and cannot be closedBurn or sell the remaining tokens first, then close the account

Server Errors

CodeMessageCauseSolution
INTERNAL_ERRORInternal server errorUnexpected server-side errorRetry the request. If it persists, open a ticket on Discord with the error details.
SERVICE_UNAVAILABLEService temporarily unavailableThe API is down or unreachableCheck the Status Page and retry later

What’s Next?

Rate Limits

Understand request limits and throttling

Best Practices

Tips for reliable API integration