Autorizace nebyla dokončena
API při tomto problému vrací 422 Unprocessable Content. Hodnota type je https://lingo.dev/docs/api/errors/connection-oauth-exchange-failed. Společnou strukturu všech chyb najdete v části Chyby a stavové kódy.
GitHub nedokončil autorizaci: <reason>. Spusťte připojování znovu.
Pole#
Kromě standardních položek type, status, title a detail obsahuje tělo odpovědi následující pole. Z nich se sestavuje text detail, takže klient může místo něj zobrazit vlastní text.
| Pole | Typ |
|---|---|
provider | "github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend" |
reason | string |
Příklad#
json
{
"detail": "GitHub did not complete the authorization: <reason>. Start connecting again.",
"provider": "github",
"reason": "<reason>",
"type": "https://lingo.dev/docs/api/errors/connection-oauth-exchange-failed",
"status": 422,
"title": "Authorization not completed"
}