Docs

Troubleshooting your organization and plan

Plan limits and quotas, invitations that can't be accepted, members who can't do something, API keys that stop working, and browser origins that are refused.

Updated Nov 5, 2026

#403 PLAN_LIMIT_REACHED, PLAN_QUOTA_EXHAUSTED or PLAN_FEATURE_REQUIRED

  • Cause: A plan limit or monthly quota is used up, or the feature isn't in your plan. The body names the limit_key, the limit, what is used and the required_plan.
  • Check: Organization › Usage, and the key in Plan limits.
  • Fix: Upgrade, add an add-on where one exists, or wait for resets_at (Billing, invoices and overage).
  • Verify: The same request succeeds.

#An invitation can't be accepted

  • Cause: The link is older than 7 days; the person signed in with a different email; their email isn't verified yet (EMAIL_NOT_VERIFIED); the organization only accepts certain email domains (EMAIL_DOMAIN_NOT_ALLOWED); or the plan's member seats are full.
  • Check: The email the invitation was sent to, and Organization › Team › Invitations.
  • Fix: Invite again (sends a fresh link), sign in with the invited address and verify it, or free a seat (Organizations, members and roles).
  • Verify: The person appears under Team with their role.

#A member gets 403 in the console or CLI

  • Cause: Their role doesn't include the permission (for example only owners and admins invite members or create projects), or they were removed.
  • Check: Organization › Team: their role, and the role's permissions.
  • Fix: Give them a role with that permission, or a custom role (Working as a team).
  • Verify: They can do it after reloading the console.

#An API key suddenly returns 401

  • Cause: The key was rotated or revoked, has expired, or belongs to another project.
  • Check: Project settings › API keys: whether the key is still listed, when it expires and when it was last used.
  • Fix: Create or rotate a key, deploy the new value, then revoke the old one (API keys).
  • Verify: Requests with the new key succeed and the old key's last use stops moving.

#The browser reports a CORS error, or 403 ORIGIN_NOT_ALLOWED

  • Cause: The site's origin (scheme, host and port) isn't in the project's allowed origins.
  • Check: The Origin header in the browser's network tab against Project settings › API › Allowed origins.
  • Fix: Add the exact origin, or a pattern such as https://*.example.com (Allowed origins (CORS) for browser apps). Apps made in the app builder get their preview and <name>.sovarias.in addresses added when you open them in the studio (a project admin must open it once); a custom domain you add yourself.
  • Verify: Reload; the request succeeds.

#503 SERVICE_CONCURRENCY_LIMIT or 503 SERVER_BUSY

  • Cause: A short spike sent more requests than the service takes at that moment (SERVICE_CONCURRENCY_LIMIT: to one service; SERVER_BUSY: to the API as a whole). The gateway refuses the extra ones straight away instead of letting every request wait for seconds, so the requests it accepts stay fast. It clears in well under a second.
  • Check: The response carries Retry-After: 1 (and X-Sovaria-Shed on SERVER_BUSY). It isn't a plan limit (those are 429 with PLAN_LIMIT_REACHED).
  • Fix: Retry after Retry-After with backoff — the SDKs do this for you. Spread bursts (for example open many realtime sockets over a second or two, not all at once).
  • Verify: The retried request succeeds.

#503 TENANT_DB_UNAVAILABLE (or DATABASE_RECONNECTING, PROJECT_MAINTENANCE) on one project

  • Cause: That one project's database can't answer right now: it is still being created, starting after an idle pause, restarting, or being moved. Sovaria itself is up and your other projects keep working.
  • Check: The response carries Retry-After. The project's dashboard says whether the database is being set up, starting, or failed (with the reason).
  • Fix: Retry after Retry-After — the SDKs do this for you. If the dashboard shows the database failed, use Retry there; if it keeps failing, contact support with the project id.
  • Verify: The dashboard shows the database as Active and the retried request succeeds.

#403 TOKEN_ENVIRONMENT_MISMATCH after switching an app between production and staging

  • Cause: App users are separate per environment. The signed-in session was made in one environment (a staging environment, or a test account seeded there) and the request named another, or production.
  • Check: Compare the environment the app is configured with (envId / SOVARIA_ENV_ID) with the one it was signed in under. Realtime connections are refused the same way.
  • Fix: Sign in again in the environment the app now points at, or point the app back at the environment the user signed in to. Clear the stored session when you switch an app's environment.
  • Verify: Requests succeed with the new session.

#503 PERMISSION_CHECK_UNAVAILABLE on a database or document request

  • Cause: Every read and write is checked against your project's policies first. When that check can't be answered for a moment, the request is refused (never let through) and answered with 503 so it can be retried, not with 403 as if you lacked permission.
  • Check: The response carries Retry-After: 1. A real denial is 403 with the policy's reason.
  • Fix: Retry after Retry-After with backoff — the SDKs do this for you (writes carry an idempotency key, so a retry never applies twice).
  • Verify: The retried request succeeds.

#Still stuck?

Email outreach@sovaria.in with your project URL, the time it happened (with time zone), the X-Request-ID response header or the trace_id from the error body, and your organization id. Never send keys, passwords, tokens or your users' data.