内容提供方处理失败

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

出现此问题时,API 返回 422 Unprocessable Content。其 type 为 https://lingo.dev/docs/api/errors/content-sync-provider-failed。有关所有错误的通用格式,请参阅错误和状态码。

GitHub 未能处理请求:<reason>

字段#

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

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

示例#

json
{
  "detail": "GitHub failed the request: <reason>",
  "provider": "github",
  "reason": "<reason>",
  "type": "https://lingo.dev/docs/api/errors/content-sync-provider-failed",
  "status": 422,
  "title": "Content provider failed"
}