本文为您介绍 API 相关错误码,您可以根据本文错误码对照表查找对应的报错信息。
| HTTP status code | 错误码 | 错误信息 | 错误说明 |
|---|---|---|---|
| 400 | BadRequest | Bad Request | 错误请求。 |
| 400 | UnsupportedInCurrentEnv | API unsupported in current deployed version | 当前实例版本暂未支持该 API,请查阅 API 文档确认适用版本。在对应 API 文档页面的接口描述区域,适用版本字段标明了该 API 支持的实例版本(例如企业标准版、企业专属版)。 |
| 400 | UnsupportedCurrentTokenType | API unsupported current token type | API 暂不支持使用当前令牌类型,请查阅 API 文档确认鉴权方式。在对应 API 文档(如 ListMembers - 查询成员列表)的前提条件中,确认鉴权方式为获取个人访问令牌,具体操作请参见获取个人访问令牌文档。 |
| 401 | Unauthorized | Unauthorized | 未授权。 |
| 401 | ExpiredTokenError | Token has expired | 令牌已过期。 |
| 401 | InvalidTokenError | Token is invalid | 令牌无效。 |
| 403 | Forbidden.InvalidUser.UserNotInCurrentOrganization | The current user is not in the organization and has no right to operate. | 当前用户未加入组织。 |
| 403 | Forbidden.InvalidOrganizationMember | The current user can not be used in the organization and has no right to operate. | 当前用户在组织中无效,没有操作权限。 |
| 403 | Forbidden | Forbidden | 无权限。 |
| 429 | TooManyRequests | Too many requests | 发送了过多请求。 |
| 500 | InternalServerError | An internal error occurs | 发生了内部错误。 |