HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
500 | 121001 | internal error | 服务器内部错误,如果重试无效可联系管理员 |
400 | 121002 | not support | 暂不支持该功能 |
400 | 121003 | param error | 参数错误,检查参数的取值范围(请按照上面字段说明自查) |
403 | 121005 | no permission | 无权限进行该操作,建议检查token类型、操作者身份以及资源的归属 |
409 | 121006 | data conflict | 通常由于CAS机制导致,可在更新数据后重试 |
400 | 122001 | meeting status unexpected | 会议状态不正确(例如:会中操作而会议不在进行中状态) |
404 | 122002 | meeting not exist | 所操作的会议不存在 |
400 | 122003 | operator user not in meeting | 进行会中操作的用户必须在会中 |
400 | 122004 | target user not in meeting | 会中操作的对象用户必须在会中 |
400 | 122005 | cannot operate self | 用户进行会中操作时,操作对象不能是自己 |
400 | 122009 | participant status not expected | 操作对象状态错误(例如:用户不在会议中) |
curl --location --request PATCH 'https://open.feishu.cn/open-apis/vc/v1/meetings/6911188411932033028/set_host?user_id_type=open_id' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"host_user": {
"id": "ou_3ec3f6a28a0d08c45d895276e8e5e19b",
"user_type": 1
},
"old_host_user": {
"id": "ou_3ec3f6a28a0d08c45d895276e8e5e19b",
"user_type": 1
}
}'
{
"code": 0,
"msg": "success",
"data": {
"host_user": {
"id": "ou_3ec3f6a28a0d08c45d895276e8e5e19b",
"user_type": 1
}
}
}