$PRIVY is live -

Skip to content
Docs

Developers

Errors

Every error code the API can return.

Errors use standard HTTP status codes and a stable machine-readable code.

Error
{
  "error": {
    "code": "RATE_LIMITED",
    "message": "Rate limit exceeded. Retry after 12 seconds."
  },
  "requestId": "req_8f3a2c91d4e6b07f"
}

Error codes

StatusCodeRetryDescription
400INVALID_REQUESTNoA parameter is missing, malformed or out of range. The message names the parameter.
401MISSING_API_KEYNoThe endpoint requires an API key and no X-API-Key header was sent.
401INVALID_API_KEYNoThe key is malformed, unknown or revoked.
403INSUFFICIENT_SCOPENoThe key does not carry the scope this endpoint requires.
404NOT_FOUNDNoThe resource does not exist or does not belong to the key owner. Both cases look identical.
414URI_TOO_LONGNoThe request URL exceeds 2,048 characters.
401INVALID_SIGNATURENoThe wallet signature does not match the authorization message and the key owner’s wallet.
409SELL_IN_PROGRESSYesA sell of this token is already executing. Wait for it to finish.
409AUTHORIZATION_EXPIREDNoThe sell authorization expired before it was signed. Create a new one.
409AUTHORIZATION_CLOSEDNoThe sell authorization was already used, cancelled or failed.
409QUOTE_BELOW_AUTHORIZED_MINIMUMNoAt authorization, Jupiter’s current quote was below the minimum you signed. Nothing was sold. error.details carries quotedOutputLamports and signedMinimumOutputLamports. Create a new authorization.
409POSITION_NOT_OPENNoThe position closed before the sell could start. Nothing was sold.
422AMOUNT_TOO_SMALLNoThe sell is too small to execute safely.
422NO_ROUTENoNo swap route exists for this pair and amount.
422INSUFFICIENT_BALANCENoThe sell amount exceeds what Privy holds for you in this token.
422ABOVE_MAXIMUMNoThe buy exceeds the per-trade maximum.
429RATE_LIMITEDYesYour key or IP exceeded its per-minute limit. Wait for Retry-After seconds.
500INTERNAL_ERRORYesPrivy failed unexpectedly. Include the requestId when contacting support.
502UPSTREAM_UNAVAILABLEYesA market data provider failed. Retry with backoff.
503UPSTREAM_RATE_LIMITEDYesA market data provider is throttling Privy. Wait for Retry-After seconds.
503SERVICE_UNAVAILABLEYesPrivy is temporarily unavailable.