HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
403 | 1470403 | The identity token is incorrect. It should be either user_access_token or tenant_access_token. | 发起请求方的身份token不正确,需要为UserAccessToken或TenantAccessToken其中一种 |
400 | 1470450 | request too fast | 当前同时发起的请求过多,峰值较高导致了限流,请稍后重新尝试 |
400 | 1470451 | Operation requests for the same task are too frequent. | 对同一个任务的操作请求太频繁,需要降低请求频次 |
400 | 1470602 | Invalid task id. | 请检查任务的 id 是否合法 |
500 | 1470702 | failed to delete task collaborator | 移除指定的任务执行者失败,请结合返回的具体错误进行排查。如果无法解决,请提供 request id 并联系飞书技术人员协助排查 |
400 | 1470404 | be refused to create or update task, perhaps you have no permission | 一般是因为操作者没有操作权限,导致更新任务或其他更新任务的操作失败。如,任务的关注者没有权限修改任务。 |
curl --location --request POST 'https://open.feishu.cn/open-apis/task/v1/tasks//batch_delete_collaborator?user_id_type=' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_list": ["ou_13585843f02bc94923ed17a007cbc9b1", "ou_f4506885e436763c36e03c05ef1bd6f8"]
}'
{
"code": 0,
"data": {
"collaborators": [
"ou_13585843f02bc94923ed17a007cbc9b1",
"ou_f4506885e436763c36e03c05ef1bd6f8"
]
},
"msg": ""
}