接続の確認に失敗しました

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