未找到内容同步范围

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

出现此问题时,API 返回 404 Not Found。其 type 为 https://lingo.dev/docs/api/errors/content-sync-scope-key-unknown。所有错误的通用结构,请参阅错误和状态码。

GitHub 内容同步中不存在范围“<scopeKey>”。

字段#

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

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

示例#

json
{
  "detail": "GitHub content sync has no scope \"<scopeKey>\".",
  "provider": "github",
  "scopeKey": "<scopeKey>",
  "type": "https://lingo.dev/docs/api/errors/content-sync-scope-key-unknown",
  "status": 404,
  "title": "Content sync scope not found"
}