SynqDocs
Errors

Error code scope_not_allowed (HTTP 422)

What Synq's `scope_not_allowed` error code means, when the API answers HTTP 422 Unprocessable Content with it, and how to fix it.

A scope a brand or org asked a sign-in provider for that isn't on Synq's reviewed list for it: GET /v1/provider-scopes lists those it allows. Each one refused is in errors, by its pointer.

What to do

Ask only for scopes listed at GET /v1/provider-scopes for that provider.

FieldValue
codescope_not_allowed
status422 Unprocessable Content
titleScope not allowed

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 scope_not_allowed. Branch on code, never on title or detail: a code never changes once it ships, while the words may.

{
  "type": "…/errors/scope_not_allowed",
  "title": "Scope not allowed",
  "status": 422,
  "code": "scope_not_allowed"
}

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

On this page