错误码

更新时间: 2024/07/24 10:04:12

本文介绍调用网易云信视频会议服务端 API 时,返回的常用错误码,帮助您了解和排查错误原因。

通用错误码

ErrorCode ErrorMessage 场景说明
0 Success 操作成功。
102 need login 请先登录 NERoom 控制台。
200 success 请求成功。
304 Not Modified 删除麦位时,麦位不存在。
400 Bad Request 客户端传参有问题。
401 Unauthorized 鉴权失败。
402 token not correct Token 不正确。
403 Forbidden 该用户无操作权限。
404 Not Found 未找到该有的数据。例如进行房间操作时,会校验房间是否存在。
405 Method Not Allowed 不支持该方法。
406 token expired Token 已过期。
409 Target Already Exists 创建房间时,房间号已经存在。
415 Unsupported Media Type 不支持的 MediaType,例如非 JSON 的请求体(Body)。
500 Internal Server Error 系统内部错误。
503 Service Busy 服务忙碌中。
600420 - 应用功能未开通,请开通后重试。

SIP 相关错误码

ErrorCode ErrorMessage 场景说明
600 refused SIP 服务拒绝访问。
601 need hands up SIP 服务需要挂起。
602 need password 请输入 SIP 服务的密码。
603 wrong password SIP 服务密码错误。
604 room not exits SIP 的房间不存在。
605 permission denied 您没有权限使用 SIP 服务。
606 user not in room 用户不在 SIP 房间。
607 user not in room 用户不在 SIP 房间。
662 not an employee of the company 非企业员工。
750 Sip service error SIP 服务错误。

IM 相关错误码

ErrorCode ErrorMessage 场景说明
700 Nim Create User Error 创建 IM 账号失败。
701 Nim User NOT exist 指定 IM 账号不存在。
702 Nim Bad Im Service IM 服务异常。
703 Nim User exist IM 账号已存在。
704 Nim User Bad Token IM 账号 Token 错误。

RTC 相关错误码

ErrorCode ErrorMessage 场景说明
600730 - 音视频通话(RTC)服务异常。

预约会议相关错误码

ErrorCode ErrorMessage 场景说明
3409 - 会议开始时间不能早于当前时间。
3411 - 会议结束时间不能早于开始时间。
3412 - 默认会议的最长持续时间是 24 小时,即预约会议的跨度不能超过 24 小时。
3424 - 预约会议如果配置了 destroyTimedestroyTime 不能早于endTime

其他错误码

ErrorCode ErrorMessage 场景说明
800 Anonymous User Disabled 匿名账号被关闭。
801 already exist chatroom 已创建独立聊天室。
802 live status error 直播状态错误。
803 live broadcast not exist 直播不存在。

应用相关错误码

ErrorCode ErrorMessage 场景说明
999 Function is not available 应用 App 功能未生效。
1000 App Not Found 应用 App 未发现。

房间相关错误码

ErrorCode ErrorMessage 场景说明
1001 Room Not Prepared 房间尚未生效。
1002 Room Role Exceed 加入房间时,角色数量超限。
1003 Room Role Undefined 加入房间时,指定角色未定义。
1004 Room Not Found 房间不存在。
1005 Bad Room Config 创建房间时,config 不存在或无法使用。
1006 Room Property Exists 房间属性已存在且不可修改。
1007 Room Member Property Exists 成员属性已存在且不可修改。
1008 Room Sit Conflict 超大房间设置的座位号已经存在。
1009 Room Sits Full 超大房间设置座位时,座位已满。
1010 Room Sit User Conflict 超大房间设置座位时,目标用户已经在座位上。
1011 Room Sit Not Exist 超大房间设置座位时,座位号不存在。
1012 Member Property or Stream Out of Currency Limit put:member.stream|property 时,该属性的并发超限,并发超限,如屏幕共享同时只能一人。
1014 Room Sits Bad 坐席配置不正确。
1015 Destination Member Server Error 被操作的成员不存在。
1016 Member Exist 房间成员已存在。
1017 Bad Room Config: Conflict 创建房间时房间已经存在且 config 冲突。请重新设置 Config,或者将 Config 置空后重试。
1018 Bad Room Live Seconds 创建房间时,传的 liveSeconds 无效。例如不大于 0,或小于 appConfig 参数的配置。
1019 Room Locked 加入房间时,房间已锁定。
1020 Bad Password 房间密码错误。
1021 Member Not Exist 房间成员不存在。
1022 Number of members exceeds the limit 房间数量超限。
1023 Number of user role map exceeds the limit 房间用户角色映射表超限。
1024 Stream type is not supported for the ClientType stream type 在当前客户端类型不支持。
601033 - 图片水印 URL 不能为空。
601034 - 透明框水印透明度数值不正确。
601035 - 文本水印文字不能为空。
601036 - 水印字体颜色格式不正确。
601037 - 房间录制记录不存在。
1038 - 聊天室不存在。
601039 - 聊天室消息导出已过期。

娱乐 PK 直播相关错误码

ErrorCode ErrorMessage 场景说明
1200 PK Record Not Found PK 记录不存在。
1201 Live Record Not Found 直播记录不存在。
1202 Live Record Exist 主播正在直播,即直播记录已存在。
1203 Anchor is Not Living 主播状态不在直播中。
1204 Anchor Can Not Pk 主播状态不在直播中。
1205 Gift Not Found 礼物信息不存在。
1206 The PK inviting Record Not Exist PK 记录不存在。

会议应用相关错误码

ErrorCode ErrorMessage 场景说明
3000 RoomKit server error NERoom 服务器异常。
3001 Sso service error 账号单点登录(SSO)服务异常。
3002 Sms service error 短信服务器异常。
3100 Meeting started 会议已开始。
3101 Meeting ended 会议已结束。
3102 Meeting recycled 会议已结束。
3104 Meeting not found 会议找不到。
603106 - 会议未回收。
3400 Meeting bad request 会议参数错误。
3401 Meeting account password not correct 会议账号密码错误。
3402 Meeting function not support 会议功能不支持。
3404 Meeting account not found 会议账号找不到。
3405 Meeting account nickname format error 会议昵称格式错误。
3406 Meeting account already existed 会议账号已存在。
3407 Meeting sms verify code not correct 会议短信验证码错误。
3408 Meeting mobile format error 会议手机号格式错误。
3409 Meeting start time less than now 会议开始时间小于当前时间。
3410 Meeting end time less than now 会议结束时间小于当前时间。
3411 Meeting end time less than now start time 会议结束时间小于开始时间。
3412 Meeting duration too long 会议时长过长。
3413 Meeting subject too long 会议主题过长。
3414 Meeting config error 会议配置错误。
3415 Meeting limit control 会议频率控制。
3503 RoomKit server error 会议服务繁忙。
3513 user accId not exist 用户的账号 ID(accId)与当前应用的 App Key 不匹配。
3999 Interoperation error 会议互通不支持提醒
此文档是否对你有帮助?
有帮助
去反馈
  • 通用错误码
  • SIP 相关错误码
  • IM 相关错误码
  • RTC 相关错误码
  • 预约会议相关错误码
  • 其他错误码
  • 应用相关错误码
  • 房间相关错误码
  • 娱乐 PK 直播相关错误码
  • 会议应用相关错误码