| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 400 | 1064000 | Illegal parameter | 检查参数有效性 |
| 403 | 1064030 | Permission denied | 检查文档权限,订阅评论至少需要阅读的权限 |
| 404 | 1064040 | Token not exist | 检查文档是否能正常访问 |
| 500 | 1065000 | Internal Server Error | 重试,若稳定失败请联系相关业务方oncall人员 |
Authorization: Bearer ********************curl --location --request PATCH 'https://open.feishu.cn/open-apis/drive/v1/files/doxcnxxxxxxxxxxxxxxxxxxxxxx/subscriptions/1234567890987654321' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{"is_subscribe":false, "file_type":"docx"}'{
"code": 0,
"data": {
"file_type": "docx",
"is_subcribe": false,
"subscription_id": "xxxxxxxx",
"subscription_type": "comment_update"
},
"msg": "success"
}
【飞书】API开发者 微信交流群
用微信扫右侧二维码,加入【飞书】API开发者 交流群,互助沟通

扫码加入交流群