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.
| Field | Value |
|---|---|
code | scope_unavailable |
status | 422 Unprocessable Content |
title | Scope 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.
Error code no_way_to_sign_in (HTTP 422)
What Synq's `no_way_to_sign_in` error code means, when the API answers HTTP 422 Unprocessable Content with it, and how to fix it.
Error code scope_needs_own_app (HTTP 422)
What Synq's `scope_needs_own_app` error code means, when the API answers HTTP 422 Unprocessable Content with it, and how to fix it.