Skip to content

Error codes

Every error is a problem document with a stable code; branch on it, not on the text. The Portal shows the detail text. See API essentials.

Status Code Meaning
400 validation-failed A field is not valid; field names it.
400 body-required The call needs a JSON body.
400 nothing-to-change The body changes nothing.
401 unauthorized No valid token, or it no longer holds: the user was suspended, signed out everywhere, or a relation was removed.
403 scope-required, admin-scope-required The token lacks the scope: admin calls need cs.admin.
403 role-required The caller lacks the role this call needs.
403 role-holder Only a tenant admin administers a user who holds a role.
403 impersonated-token A client acting for a user cannot make this call.
403 owner-only Only the tenant owner may do this.
403 tenant-unavailable The tenant is suspended or not active.
404 not-found Not there, or not visible to the caller — never distinguished.
409 confirmation-required Repeat with ?confirm={impactToken} after showing impact.
409 name-taken, email-taken, key-taken, location-taken The name, address, key or location is used already.
409 system-object Everyone, the root folder and the Portal cannot be changed.
409 in-use Something still uses it; remove that first.
409 wrong-state The object is not in a state this change applies to.
412 version-mismatch The object changed since you read it; read it again.
428 if-match-required Send If-Match with the object’s ETag.
429 too-many-requests Load protection; retry after Retry-After seconds.
429 retrieval-allowance-exhausted The month’s retrieval is used up until resetsAt.
503, 502 source-unavailable The source or its agent cannot be reached, or refused.
503 search-semantic-unavailable Meaning-based search is briefly unavailable; retry.
Code Meaning
self You cannot suspend or delete yourself.
user-not-active Roles and ownership go to users who have signed in.
last-tenant-admin The last active tenant admin keeps the role.
owner-protected Transfer ownership first.
not-login-client, not-impersonating Admin access is for login clients; secrets for impersonating clients.
slots-full Both secret slots are used; delete one.
acl.owned-detail Records below their owning record take its access and cannot have their own.
root-acl The root folder’s access can be changed, not removed.
Code Meaning
plan-limit, plan-connector The plan’s mount folder limit is reached, or it does not include the connector.
not-a-virtual-folder Folders and mount folders go inside virtual folders only.
read-only Items below a mount folder come from the source and cannot be changed.
not-restorable, not-deleted Only a deleted folder whose parent exists can be restored; only deleted items purged.
connection-paused Unpause the connection first.
not-supported, not-on-prem The connector does not offer this; cloud connections use no agents.
agent-disabled, agent-not-usable Enable the agent; it must be enrolled and report the connector’s plugin.
no-consent, settings-invalid, consent-unavailable The connection takes no consent, lacks its host or consent level, or consent is not offered.
document-type-undefined, child-type-mounted, owned-type-in-use Define the type first (documentTypes names the types to define); records below other records have no mount point of their own.
role-not-allowed Internal attributes cannot be filterable or sortable.
attribute-index-pending The attribute’s sort index is still being prepared; retry shortly.
declared-relation, declared-level A connector’s own relation can be renamed only.
text-unavailable The document has no indexed text (reason: not indexed, no text, not stored yet).
Code Meaning
subscribed, not-subscribed Already paid — change the plan instead; or subscribe first.
add-on-not-offered The plan does not offer the add-on.
dedicated-server-required Node packs, Multi-AZ and another region need the dedicated database server: add it in the same change, or keep it while they remain.
node-pack-limit At most 9 node packs.
add-on-quantity At most one dedicated database server, private embedding or other region.
no-plan The subscription has no plan price; contact support.
payment-failed (402) The payment for a change failed and nothing was added; pay the open invoice in the payment portal within 23 hours and the change applies.
no-customer, no-subscription Billing is not set up yet for the tenant; contact support.
already-owner, not-tenant-admin, change-pending, waiting-period, change-void, not-a-party, code-invalid Ownership changes: see Ownership.