| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 200 | 1061001 | internal error. | 服务内部错误,包括超时,错误码没处理。 |
| 400 | 1061002 | params error. | 请检查请求参数是否正确。 |
| 400 | 1061021 | upload id expire. | 上传事务过期,请重头开始上传。 |
| 403 | 1061073 | no scope auth. | 没有申请接口权限。 |
| 400 | 1062007 | upload user not match. | 请确保当前请求身份和上传任务的身份为同一个。 |
| 400 | 1062008 | checksum param Invalid. | 请确保文件/文件块的checksum正确。 |
| 400 | 1062009 | the actual size is inconsistent with the parameter declaration size. | 实际传输的文件大小和参数说明的大小不符合一致。 |
| 400 | 1062010 | block missing, please upload all blocks. | 部分文件分片缺失,请确保所有文件分片上传完成。 |
| 400 | 1062011 | block num out of bounds. | 上传过多文件分片,请确保上传的为对应文件。 |
Authorization: Bearer ********************curl --location --request POST '/drive/v1/files/upload_part' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data; boundary=---7MA4YWxkTrZu0gW' \
--form 'upload_id="123456"' \
--form 'seq="0"' \
--form 'size="4194304"' \
--form 'checksum="12342388237783294798"' \
--form 'file=@""'{
"code": 0,
"msg": "success",
"data": {}
}
【飞书】API开发者 微信交流群
用微信扫右侧二维码,加入【飞书】API开发者 交流群,互助沟通

扫码加入交流群