连接检查失败
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" |
reason | string |
示例#
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"
}