SynqDocs
Errors

Error code server_only (HTTP 403)

What Synq's `server_only` error code means, when the API answers HTTP 403 Forbidden with it, and how to fix it.

Only an org API key on a server reads people's provider tokens: never a person's access token, the dashboard's included, and never a request a browser sent.

What to do

Call from your server with an org API key that has org.users.providerTokens.read, sending no Origin or Sec-Fetch-Site header.

FieldValue
codeserver_only
status403 Forbidden
titleServer only

Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is server_only. Branch on code, never on title or detail: a code never changes once it ships, while the words may.

{
  "type": "…/errors/server_only",
  "title": "Server only",
  "status": 403,
  "code": "server_only"
}

See every error code. Still stuck? Support says where to write, what to send and where Synq's status page is.

On this page