Docs / Errors & limits

Errors & limits

Stable error.code values. Shape is consistent across routes.

{
  "ok": false,
  "error": {
    "code": "plan_upgrade_required",
    "message": "Live network needs Growth+"
  }
}

HTTP map

StatusCodesWhat to do
401unauthorized · invalid_api_keyFix key / header
402plan_upgrade_requiredUpgrade for live network
403publishable_key_forbidden · origin_not_allowed · email_unverifiedUse sk_ on server · allow origin · confirm signup
404not_foundBad session / account / profile
422validation_errorFix JSON body
429rate_limited · credits exhaustedBackoff · raise plan · wait month window
503try_laterTransient (e.g. email intel) — retry

Limits

  • Monthly credits — plan quota on deep assesses / email lookups
  • Idempotency — same Idempotency-Key on assess returns cached result (~24h)
  • Origins — max 20 on publishable collect
  • Public demos — IP rate limits on /v1/public/* (marketing/lab)

Machine schema

GET /v1/schema includes the error catalog under schema.errors.

API reference → Docs hub →