Sign inConnect your AI
api / errors

Partner key cap reached

HTTP 402, code partner_key_cap_reached.

Updated · API v1

What it means

Partner keys only: the credits this key's requests settled this calendar month (UTC), plus the most this request can settle, pass the key's monthly cap.

What to do

Stop the metered requests until the 1st of next month (UTC), or ask the partner to raise the key's cap. Nothing was charged; free requests keep working.

Not retryable as it is: sending the same request again gives the same answer.

The answer

application/problem+json
{
  "type": "https://www.adspy.sh/docs/api/errors/partner-key-cap-reached",
  "title": "Partner key cap reached",
  "status": 402,
  "detail": "…",
  "code": "partner_key_cap_reached",
  "request_id": "3f5b9c2e-8d41-4a7e-9b0c-6e2d1f4a8c37",
  "instance": "/api/v1/…"
}

Every error type and how to handle them.