| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 403 | 1068400 | Has no permission, please apply the file permission of reading or edition. | 无阅读/编辑权限,请申请源文档的阅读/编辑权限。 |
| 404 | 1068404 | Parent file does not exist, please check the file status. | 源文档不存在,请检查文档是否已删除。 |
| 400 | 1068410 | Params error, param [file_token] is wrong. | file_token请求参数错误,请检查参数。 |
| 400 | 1068411 | Params error, param [obj_type] is wrong. | obj_type请求参数错误,请检查参数。 |
| 400 | 1068412 | Params error, param [version_id] is wrong. | version_id请求参数错误,请检查参数。 |
| 400 | 1068425 | Request failed, please contact the engineer-https://applink.feishu.cn/TLJsX982. | 请求失败,请联系业务方oncall。 |
| 404 | 1068403 | File does not exist, please check the file status. | 文档版本不存在,请检查版本文档是否已被删除。 |
curl --location --request GET 'https://open.feishu.cn/open-apis/drive/v1/files/shtbcqqoXZJaKYrfN5IHQg4sVFZ/versions/file_version?obj_type&user_id_type&page_token&page_size' \
--header 'Authorization: Bearer <token>'{
"code": 0,
"msg": "success",
"data": {
"name": "文档标题",
"version": "version1",
"parent_token": "1665739388",
"owner_id": "694699009591869450",
"creator_id": "694699009591869451",
"create_time": "1660708537",
"update_time": "1660708537",
"status": "0",
"obj_type": "docx",
"parent_type": "docx"
}
}