Skip to content

Quota exceeded

This issue occurs when your organization has reached a usage or billing limit.

Quota errors are expected operational states, not system failures.

Your integration should handle them gracefully and predictably.


SotsAI rejected the request because one of the following limits was reached:

  • monthly usage quota
  • plan restriction
  • organization is in read-only or billing-inactive state
  • rate limit exceeded

Common error codes include:

  • ORG_QUOTA_EXCEEDED
  • PLAN_NOT_ALLOWED
  • LIMIT_REACHED
  • ORG_BILLING_INACTIVE
  • ORG_READONLY

You may observe:

  • /v1/advice returns a quota-related error
  • repeated failures despite valid payloads
  • advice suddenly stops working while other features still work
  • errors appear at predictable volume thresholds

The most common cause.

  • your organization has consumed its allocated quota
  • usage resets on the next billing cycle
  • further calls are blocked

This is normal behavior.


Your plan may:

  • restrict certain endpoints
  • limit psychometric-powered reasoning
  • enforce read-only behavior

Examples:

  • payment failed
  • billing customer missing
  • contract inactive
  • organization in read-only mode

In this case, quota errors protect the system from uncontrolled usage.


Less common, but possible.

  • bursts of traffic
  • retry loops without backoff
  • misconfigured orchestration

Rate limits are short-lived and usually recover automatically.


Quota-related errors should not trigger automatic retries.

Retries will:

  • fail again
  • waste resources
  • increase load
  • degrade UX

When quota is exceeded:

  • skip the SotsAI call
  • let your LLM handle the request autonomously
  • return a reasonable, non-personalized response

Example behavior:

“Advanced behavioral adaptation is temporarily unavailable.”

This preserves continuity without breaking the user experience.


Who should see what?

End users

  • should not see billing errors
  • should get a neutral experience

Operators / admins

  • should be notified
  • should see quota status
  • should know how to resolve it

Call SotsAI
IF success:
apply behavioral reasoning
ELSE IF quota error:
skip SotsAI
fallback to LLM-only behavior
log quota event
ELSE:
handle according to error category

Avoid these anti-patterns:

  • ❌ retrying quota errors
  • ❌ blocking the entire feature
  • ❌ exposing billing errors to end users
  • ❌ silently swallowing the issue without logging

Quota exhaustion should be visible to operators, not users.


Depending on the cause:

  • upgrade or adjust the plan
  • wait for quota reset
  • resolve billing issues
  • reduce unnecessary calls
  • improve orchestration gating

When quota errors appear, check:

  • current monthly usage
  • plan limits
  • billing status
  • rate limit configuration
  • retry loops in orchestration

If usage spikes unexpectedly, investigate:

  • missing profile gating
  • repeated retries
  • calling SotsAI for non-interpersonal requests