SSO 连接已更改
了解 SsoConnectionChanged 错误(409 Conflict)的含义、包含的字段,以及哪些端点会返回此错误。
出现此问题时,API 会返回 409 Conflict,其 type 为 https://lingo.dev/docs/api/errors/sso-connection-changed。有关所有错误的通用结构,请参阅错误和状态码。
在保存此身份提供商的过程中,另一个身份提供商已连接到组织 <organizationId>。请重新加载 SSO 设置,查看当前连接的是哪一个。
字段 #
除标准的 type、status、title 和 detail 成员外,响应体还包含以下字段。detail 文本根据这些字段生成,因此客户端也可以显示自定义文本。
| 字段 | 类型 |
|---|---|
organizationId | string |
示例 #
json
{
"detail": "A different identity provider connected at organization <organizationId> while this one was being saved. Reload the SSO settings to see which one is connected.",
"organizationId": "<organizationId>",
"type": "https://lingo.dev/docs/api/errors/sso-connection-changed",
"status": 409,
"title": "SSO connection changed"
}返回此错误的端点 #
PUT /v2/organizations/{orgId}/sso