需要重新连接

Moses Skoda工程师预计阅读 1 分钟

API 返回此问题时使用 409 Conflict。其 type 为 https://lingo.dev/docs/api/errors/connection-needs-reauth。所有错误的通用结构请参阅错误和状态码。

<reason>。请重新连接 GitHub 连接 <id>,以恢复访问。

字段#

除标准的 type、status、title 和 detail 成员外,响应正文还包含以下字段。detail 文本根据这些字段生成,因此客户端也可以显示自己的文本。

字段类型
idstring
provider"github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend"
reasonstring

示例#

json
{
  "detail": "<reason>. Reconnect GitHub connection <id> to restore access.",
  "id": "<id>",
  "provider": "github",
  "reason": "<reason>",
  "type": "https://lingo.dev/docs/api/errors/connection-needs-reauth",
  "status": 409,
  "title": "Connection needs reconnecting"
}