Payload 身份验证集合无效

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

API 会以 422 Unprocessable Content 状态返回此问题,其 type 为 https://lingo.dev/docs/api/errors/payload-auth-collection-invalid。有关所有错误的通用结构,请参阅错误和状态码。

身份验证集合必须设为 API 密钥对应用户所属集合的 slug,例如 users。

字段#

此问题仅包含标准成员。

示例#

json
{
  "detail": "The auth collection must be the slug of the collection the API key's user belongs to, such as users.",
  "type": "https://lingo.dev/docs/api/errors/payload-auth-collection-invalid",
  "status": 422,
  "title": "Payload auth collection invalid"
}