10xDotIn Developer Docs

Error Code Reference

Reference for common API error codes and handling guidance.

Error Code Reference

Use this guide for quick handling of common API error codes.

Common codes

CodeTypical statusMeaningAction
missing_bearer_token401Missing Authorization headerSend JWT/PAT bearer token
invalid_token401Token malformed or invalidRegenerate token and retry
token_expired401JWT/PAT expiredRefresh/login and retry
insufficient_scope403PAT lacks required scopeMint PAT with required scopes
insufficient_role403Caller role not authorizedUse owner/operator credential
feature_locked403Feature not available on current planUpgrade plan or disable flow
invalid_payload400Request body shape/fields invalidFix request payload
validation_error400Validation failedCorrect inputs and retry
not_found404Target resource does not existVerify IDs/slugs/handle
conflict409State conflict or duplicateRead current state, then retry with corrected action
rate_limited429Request rate exceededBackoff and honor Retry-After
internal_error500Unexpected server failureRetry with exponential backoff
knowledge_unavailable503Knowledge subsystem not availableRetry later; alert operator if sustained
domain_purchase_deprecated400Platform domain purchase removedUse BYO domain flow

Handling policy

  1. Retry only for transient classes (429, 5xx, temporary 503).
  2. Do not retry deterministic client failures (400, 401, 403, 404, 409) without changing input/auth/state.
  3. Log both HTTP status and error.code for incident triage.

Full inventory

This public reference covers the external API error classes required for integrator workflows. For unresolved cases, escalate with Troubleshooting and Support and include request IDs plus payload context.

Updated Jun 19, 2026