Skip to content

Errors

All REST errors are returned as JSON with success: false:

{
"success": false,
"requestId": "6debfe7e-177d-4dad-aa96-5150e225dd6e",
"error": {
"code": "SOME_ERROR_CODE",
"message": "Human readable message"
}
}
  • 400: invalid input, expired token, invalid signed tx, slippage exceeded, etc.
  • 401: missing/invalid API key
  • 404: token not found / invalid resource
  • 408: transaction expired (blockhash expired)
  • 409: already processed / conflicts
  • 502: upstream RPC error
  • 503: transient errors (account in use, network issues)
CodeAction
AUTH_ERRORVerify Authorization: Bearer api_...
VALIDATION_ERRORValidate request body (mints/amounts/slippage)
INSUFFICIENT_FUNDSCheck wallet balance (not enough SOL or tokens for transaction)
INSUFFICIENT_SOLAdd SOL to wallet (not enough for transaction fees)
INSUFFICIENT_TOKEN_BALANCECheck token balance (not enough tokens to sell)
SLIPPAGE_EXCEEDEDTry increasing priority or slippage
RATE_LIMIT_EXCEEDEDToo many RPC requests, wait and retry
TX_EXPIREDRebuild the transaction and submit quicker
CONFLICT_ERRORWallet already registered, use existing API key