接続確認に失敗しました

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

API は 422 Unprocessable Content に対してこのエラーを返します。type は https://lingo.dev/docs/api/errors/connection-probe-failed です。すべてのエラーに共通する構造については、エラーとステータスコードをご覧ください。

GitHub が接続を拒否しました:<reason>

フィールド#

レスポンス本文には、標準のメンバーである type、status、title、detail に加え、以下のフィールドが含まれます。detail のテキストはこれらのフィールドをもとに生成されるため、クライアント側で代わりに独自のテキストを表示できます。

フィールド型
provider"github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend"
kind"refused" | "unreachable"
reasonstring

例#

json
{
  "detail": "GitHub refused the connection: <reason>",
  "provider": "github",
  "kind": "refused",
  "reason": "<reason>",
  "type": "https://lingo.dev/docs/api/errors/connection-probe-failed",
  "status": 422,
  "title": "Connection check failed"
}