認可が完了していません
APIは、この問題に対して422 Unprocessable Contentを返します。typeはhttps://lingo.dev/docs/api/errors/connection-oauth-exchange-failedです。すべてのエラーに共通する構造については、エラーとステータスコードを参照してください。
GitHubでの認可が完了しませんでした:<reason>。接続を最初からやり直してください。
フィールド#
レスポンス本文には、標準のtype、status、title、detailの各メンバーに加えて、以下のフィールドが含まれます。detailのテキストはこれらのフィールドから生成されるため、クライアント側で独自のテキストに置き換えて表示できます。
| フィールド | 型 |
|---|---|
provider | "github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend" |
reason | string |
例#
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"
}