Flashpoint.AIFlashpoint.AIdocs

Errors

Every error response uses the same shape:

{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests. Try again in 12s.",
    "request_id": "req_01HXYZ..."
  }
}

Always log request_id — support can resolve issues an order of magnitude faster when you include it.

Status codes

StatusMeaning
400Malformed request — missing or invalid parameter
401Missing, invalid, or revoked API key
403Authenticated, but the key lacks the required scope
404Resource does not exist or is not visible to this workspace
409State conflict — the resource changed under you
422Validation failed on a syntactically valid request
429Rate-limited — see Retry-After header
5xxServer-side. Safe to retry with backoff.

Error codes

CodeWhen
invalid_requestThe body or query string failed parsing
invalid_api_keyKey not recognized
insufficient_scopeKey authenticated but missing the needed scope
not_foundResource ID does not exist
rate_limitedQuota exhausted for this minute or day
internal_errorServer-side fault — opens an internal incident

Retry policy

Retry 429 and 5xx with exponential backoff and full jitter. Cap retries at 5 attempts. Do not retry 4xx other than 429 — the request will fail again.