認可が完了していません

Moses Skodaエンジニア読了目安 1分

この問題が発生すると、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"
reasonstring

例#

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"
}