| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 400 | 230001 | Your request contains an invalid request parameter. | 参数错误,请根据接口返回的错误信息并参考文档检查输入参数。 |
| 400 | 230006 | Bot ability is not activated. | 机器人能力未启用 。在开发者后台-应用功能-机器人页面开启机器人功能并发布上线。 |
| 400 | 230009 | Message can only be recalled within one days. | 消息发出时间过长(1天),不能执行当前操作。 |
| 400 | 230026 | No permission to recall this message. | 机器人没有权限撤回该消息,只能撤回机器人自己发出的消息。 |
| 400 | 230027 | Lack of necessary permissions. | 请根据本文档中的权限要求部分补充所需权限。 |
| 400 | 230030 | The message id is invalid, record not found. | 检查传入的batch_message_id是否正确。 |
Authorization: Bearer ********************curl --location --request DELETE '/im/v1/batch_messages/bm-dc13264520392913993dd051dba21dcf' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain' \
--data-raw 'curl --location --request DELETE '\''https://open.feishu.cn/open-apis/im/v1/batch_messages/bm-dc13264520392913993dd051dba21dcf'\'' \
--header '\''Authorization: Bearer t-e811da948d9a2803433be10458f650c842799970'\'''{
"code": 0,
"data": {},
"msg": "ok"
}
【飞书】API开发者 微信交流群
用微信扫右侧二维码,加入【飞书】API开发者 交流群,互助沟通

扫码加入交流群