SynqDocs
Errors

Error code scope_unavailable (HTTP 422)

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

A scope on Synq's list for the provider that nothing can use yet: what it grants needs Synq to read it at sign-in, or is any use only with the person's provider token, and Synq hasn't reviewed it for that yet. Its status in GET /v1/provider-scopes is coming.

What to do

Leave it out until its status in GET /v1/provider-scopes is available.

FieldValue
codescope_unavailable
status422 Unprocessable Content
titleScope unavailable

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

{
  "type": "…/errors/scope_unavailable",
  "title": "Scope unavailable",
  "status": 422,
  "code": "scope_unavailable"
}

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

On this page