| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 400 | 230001 | Your request contains an invalid request parameter. | 参数错误,请根据接口返回的错误信息并参考文档检查输入参数。 |
| 400 | 230002 | The bot can not be outside the group. | 机器人不在对应群组中。 |
| 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 | 230050 | The message is invisible to the operator. | 该消息对于操作者不可见,无法进行本操作。 |
| 400 | 230054 | This operation is not supported for this message type. | 该消息类型不支持本操作,详情参见消息与群组部分API增加不支持的消息类型校验。 |
Authorization: Bearer ********************curl --location --request DELETE '/im/v1/messages/' \
--header 'Authorization: Bearer <token>'{
"code": 0,
"msg": "success",
"data": {}
}
【飞书】API开发者 微信交流群
用微信扫右侧二维码,加入【飞书】API开发者 交流群,互助沟通

扫码加入交流群