错误码
更新时间:2026-07-14
错误码
| HttpCode | 错误码 | 错误信息 | 错误描述 |
|---|---|---|---|
| 409 | UserPoolAlreadyExists | The user pool with the same name already exists. | 同名用户池已存在 |
| 404 | UserPoolNotFound | The user pool does not exist. | 用户池不存在 |
| 404 | UserPoolNotBelongToAccount | The user pool does not belong to the current account. | 用户池不属于当前账户 |
| 409 | UsernameAlreadyExists | The username already exists. | 用户名已存在 |
| 404 | UserNotFound | The user does not exist. | 用户不存在 |
| 400 | NewPasswordSameAsCurrent | The new password is the same as the current password. | 新密码与当前密码相同 |
| 403 | CurrentPasswordIncorrect | The current password is incorrect. | 当前密码错误 |
| 400 | InvalidUserIds | The ids list is empty or exceeds 100 items. | 用户 ID 列表为空或超过 100 个 |
| 409 | IdpConfigAlreadyExists | The IdP config with the same name already exists. | 同名 IdP 配置已存在 |
| 404 | IdpConfigNotFound | The IdP config does not exist. | IdP 配置不存在 |
| 409 | OAuth2ClientAlreadyExists | The OAuth2 client with the same name already exists. | 同名 OAuth2 客户端已存在 |
| 404 | OAuth2ClientNotFound | The OAuth2 client does not exist. | OAuth2 客户端不存在 |
| 404 | ResourceNotBelongToUserPool | The resource does not belong to the specified user pool. | 资源不属于指定用户池 |
| 401 | InvalidCredentials | The username or password is incorrect. | 用户名或密码错误 |
| 423 | LoginRateLimited | Login attempts exceeded the limit; the account is locked for 1 hour. | 登录频率超限(5次失败后锁定1小时) |
| 400 | InvalidOrExpiredSession | The login session does not exist or has expired. | 登录会话不存在或已过期 |
| 404 | SessionNotFound | The login session does not exist. | 登录会话不存在 |
| 400 | InvalidParameterValue | The request parameter is invalid. | 请求参数错误 |
| 401 | AuthenticationFailed | Authentication failed. | 认证失败 |
| 401 | InvalidToken | The WAT is invalid or has expired. | WAT 无效或已过期 |
| 403 | AccessDenied | You do not have permission to access this resource. | 无权限访问该资源 |
| 403 | DomainIdMismatch | The domainId in the WAT does not match the requested bceDomainId. | WAT 中的 domainId 与请求的 bceDomainId 不一致 |
| 404 | AgentNotFound | The agent does not exist. | Agent 不存在 |
| 404 | CredentialProviderNotFound | The credential provider does not exist. | 凭证提供方不存在 |
| 409 | AgentNameDuplicated | The agent name already exists. | Agent 名称已存在 |
| 409 | CredentialProviderNameDuplicated | The credential provider name already exists. | 凭证提供方名称已存在 |
| 500 | InternalError | Internal server error. | 服务器内部错误 |
| 502 | KMSServiceError | KMS service call exception. | KMS 服务调用异常 |
| 404 | SessionNotFound | The OAuth2 session does not exist. | OAuth2 session 不存在 |
| 400 | InvalidSessionState | The session state is incorrect or a parameter is missing. | session 状态不正确或参数缺失 |
| 403 | UserIdMismatch | The userId does not match the session initiator. | userId 与 session 发起者不匹配 |
| 403 | AgentIdMismatch | The agentId in the WAT does not match the session owner. | WAT 中的 agentId 与 session 归属不一致 |
| 400 | InvalidState | The state parameter is invalid, the session has expired, or the session state is not PENDING. | state 参数无效、session 已过期或状态不为 PENDING |
| 500 | TokenExchangeFailed | Failed to exchange token with the IdP. | 向 IdP 换取 token 失败 |
评价此篇文章
