Skip to content
Docs
Qubitara Synapse

Errors, limits and rate limits

Updated Version 3SYNAPSE-68

The error envelope#

Every error is JSON with an HTTP status, a short error, a human message, and — where a program should branch on it — a stable code:

json
{
  "statusCode": 402,
  "error": "Payment Required",
  "code": "PLAN_LIMIT_REACHED",
  "message": "The Free plan includes 50 pages and this workspace has reached it. Archive pages or choose a larger plan."
}

Validation failures (400) list what was wrong in message.

Statuses#

Status

Meaning

400

The request was malformed or failed validation

401

No credential, or an expired access token — refresh or sign in again

402

The plan does not include this (FEATURE_NOT_IN_PLAN), or a limit was reached (PLAN_LIMIT_REACHED)

403

The credential may not do this — a missing role, an API key without the scope, an unconfirmed organization

404

Not found or not yours; the API does not distinguish

409

A conflict: the page changed since you read it (PAGE_CHANGED), it is locked (PAGE_LOCKED), a move would carry a restricted sub-page somewhere it may not go (RESTRICTED_DESCENDANT)

429

Too many requests — wait for Retry-After

5xx

A fault on our side; safe to retry with backoff

Codes worth handling#

Code

When

PAGE_CHANGED

Your baseUpdatedAt is older than the page's current save. Re-read and merge.

PAGE_LOCKED

Somebody locked the page. The message says who.

RESTRICTED_DESCENDANT

A move or duplicate would expose a restricted page.

PLAN_LIMIT_REACHED

Seats or pages are at the plan's limit.

FEATURE_NOT_IN_PLAN

SSO, SCIM, the assistant, analytics, audit export, imports, custom domains or white-label need a different plan.

PUBLIC_SHARING_DISABLED

Share links are switched off for the organization.

SWITCH_REQUIRES_SIGN_IN

The target organization enforces single sign-on; switching is refused.

INSUFFICIENT_CREDITS

The AI allowance is spent.

BILLING_ADDRESS_NEEDED, NO_GATEWAY, GATEWAY_NOT_OFFERED, ALREADY_SUBSCRIBED, SEATS_BELOW_ASSIGNED

Checkout and seat changes; the message explains.

Rate limits#

  • 300 requests a minute per client across the API.

  • 120 requests a minute per client on the anonymous public-documentation endpoints.

  • Sign-in attempts are additionally limited per account and per address.

A limited request answers 429 with a Retry-After header. Back off and retry; do not hammer.

Sizes#

Thing

Limit

Page title

300 characters

Markdown import

200 files per job, 2 MB each

OpenAPI import

5 MB

Logo

512 KB

Share link lifetime

1–365 days

API key lifetime

1–730 days

Plan limits#

Seats and pages are counted per organization; the current numbers are under Billing → Usage and at GET /billing/usage. Reaching a limit refuses the action that would exceed it; nothing already there is removed.