未找到用户

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

API 遇到此问题时会返回 404 Not Found。其 type 为 https://lingo.dev/docs/api/errors/user-not-found。所有错误的通用结构,请参阅错误和状态码。

未找到用户 <id>

字段#

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

字段类型
idstring

示例#

json
{
  "detail": "User <id> not found",
  "id": "<id>",
  "type": "https://lingo.dev/docs/api/errors/user-not-found",
  "status": 404,
  "title": "User not found"
}

返回此错误的端点#

  • PATCH /v2/users/me