跳到主要内容

通用错误码

通用错误码

以下是服务端常用错误码列表,部分未列入的错误码可以在具体API接口文档中查询到。你也可以通过右上角搜索功能,全局查找错误码说明和排查建议。

错误码说明排查建议
10001invalid parameter请求参数缺失或者有误
10002internal server error服务端异常
10003invalid client_id or client_secret请求参数缺失或者有误
10004client unauthorized客户端未授权
10005invalid access_token无效的access_token
20001user is not exist用户不存在
20002department is not exist部门不存在
20003custom field is not exist自定义字段不存在
20004department has sub department, can’t delete待删除部门有子部门时,不允许直接删除部门,请先删除子部门后再删除部门
20005department has active members, can’t delete待删除部门有在职用户时,不允许直接删除部门,请先处理部门成员后再执行删除操作
20006mobile is not valid手机号不合法,请检查是否是正确的手机号格式
20007fill in at least one mobile or email手机号或邮箱至少填写一个
20008mobile is already exist手机号已存在
20009email is already exist邮箱已存在
200010username is already exist用户名已存在
200011custom field value is not set自定义属性对应的值为空
200012custom field value is already exist自定义属性对应的值已存在