Launch offer: 50% off.Paid plans only.See pricing
Skip to content

Documentation

Reference

Error Reference

ProblemDetails-style errors, plan-limit extensions, and remediation guidance.


Error model

Lamba customer surfaces use RFC7807 ProblemDetails as the single error shape. Business-state details such as plan limits are added as extension fields.

{
  "type": "https://api.uselamba.com/problems/authorization",
  "title": "Forbidden",
  "status": 403,
  "detail": "The current principal cannot access this resource.",
  "errorCode": "AUTHORIZATION_DENIED",
  "traceId": "00-2f7b4a..."
}

Plan limit example (402 PLAN_LIMIT_EXCEEDED)

{
  "type": "https://api.uselamba.com/problems/plan-limit",
  "title": "Plan limit exceeded",
  "status": 402,
  "detail": "The workspace has exceeded its monthly active user limit.",
  "errorCode": "PLAN_LIMIT_EXCEEDED",
  "limit": "mau",
  "allowed": 5000,
  "current": 5001,
  "plan": "free",
  "traceId": "00-8a5f0f..."
}

Remediation table

StatusTypical reasonRemediation
401Missing or invalid auth credentialsRe-authenticate, refresh session, verify token audience and issuer
403Role, policy, or context mismatchVerify membership, active project context, and required permission
429Rate limit exceededRespect Retry-After, apply bounded backoff, retry idempotent calls
402Plan or usage limit reachedUpgrade plan or reduce usage; treat as business-state response
5xxService-side failureRetry with jitter and bounded attempts; include traceId in support tickets

Logging requirements

Always log:

  • status
  • errorCode
  • traceId
  • request route and resolved workspace/project context when available