houtianze/bypy

upload有错误,已登录

Opened this issue · 4 comments

[12:31:54] Error accessing 'https://pcs.baidu.com/rest/2.0/pcs/file'
[12:31:54] Function: _rapidupload_file_act
[12:31:54] Website parameters: {'method': 'rapidupload', 'path': '/apps/bypy/tl.tar.gz', 'content-length': 3877869014, 'content-md5': '29a7f353bi3d3672b30ee4b2f2daec3d', 'slice-md5': '626c7302ba87878b8dce9659928b4a09', 'content-crc32': '0xa5ae8e2f', 'ondup': 'overwrite'}
[12:31:54] Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?method=rapidupload&path=%2Fapps%2Fbypy%2Ftl.tar.gz&content-length=3877869014&content-md5=29a7f353bi3d3672b30ee4b2f2daec3d&slice-md5=626c7302ba87878b8dce9659928b4a09&content-crc32=0xa5ae8e2f&ondup=overwrite&access_token=XrbDehHlo_o8KCNC5ZKnAPkxK2ML.10ADvg
[12:31:54] HTTP Response Status Code: 400
[12:31:54] Error JSON returned:{'error_code': 31023, 'error_msg': 'param error', 'request_id': 56873810586324}
Error code: 31023
Error Description: param error
[12:31:54] Website returned: {"error_code":31023,"error_msg":"param error","request_id":56873810586324}

确实,我在备份服务器上的实验数据,文件数量很大。上传过程中,满屏幕的Error,但是在百度网盘客户端中可以看到报错的文件也确实成功上传。

百度的秒传接口有改动(或者关了),找不到文档,所以无法修正。最新版上传现在只会做一次秒传,失败就算了,影响不会很大,就是这个错误信息有点烦。On 25 Jan 2024, at 12:34 PM, hahau6 @.> wrote: [12:31:54] Error accessing 'https://pcs.baidu.com/rest/2.0/pcs/file' [12:31:54] Function: _rapidupload_file_act [12:31:54] Website parameters: {'method': 'rapidupload', 'path': '/apps/bypy/tl.tar.gz', 'content-length': 3877869014, 'content-md5': '29a7f353bi3d3672b30ee4b2f2daec3d', 'slice-md5': '626c7302ba87878b8dce9659928b4a09', 'content-crc32': '0xa5ae8e2f', 'ondup': 'overwrite'} [12:31:54] Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?method=rapidupload&path=%2Fapps%2Fbypy%2Ftl.tar.gz&content-length=3877869014&content-md5=29a7f353bi3d3672b30ee4b2f2daec3d&slice-md5=626c7302ba87878b8dce9659928b4a09&content-crc32=0xa5ae8e2f&ondup=overwrite&access_token=XrbDehHlo_o8KCNC5ZKnAPkxK2ML.10ADvg [12:31:54] HTTP Response Status Code: 400 [12:31:54] Error JSON returned:{'error_code': 31023, 'error_msg': 'param error', 'request_id': 56873810586324} Error code: 31023 Error Description: param error [12:31:54] Website returned: {"error_code":31023,"error_msg":"param error","request_id":56873810586324} —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>

目前这个有什么办法吗?一直是这个错误

百度的秒传接口有改动(或者关了),找不到文档,所以无法修正。最新版上传现在只会做一次秒传,失败就算了,影响不会很大,就是这个错误信息有点烦。On 25 Jan 2024, at 12:34 PM, hahau6 @.> wrote: [12:31:54] Error accessing 'https://pcs.baidu.com/rest/2.0/pcs/file' [12:31:54] Function: _rapidupload_file_act [12:31:54] Website parameters: {'method': 'rapidupload', 'path': '/apps/bypy/tl.tar.gz', 'content-length': 3877869014, 'content-md5': '29a7f353bi3d3672b30ee4b2f2daec3d', 'slice-md5': '626c7302ba87878b8dce9659928b4a09', 'content-crc32': '0xa5ae8e2f', 'ondup': 'overwrite'} [12:31:54] Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?method=rapidupload&path=%2Fapps%2Fbypy%2Ftl.tar.gz&content-length=3877869014&content-md5=29a7f353bi3d3672b30ee4b2f2daec3d&slice-md5=626c7302ba87878b8dce9659928b4a09&content-crc32=0xa5ae8e2f&ondup=overwrite&access_token=XrbDehHlo_o8KCNC5ZKnAPkxK2ML.10ADvg [12:31:54] HTTP Response Status Code: 400 [12:31:54] Error JSON returned:{'error_code': 31023, 'error_msg': 'param error', 'request_id': 56873810586324} Error code: 31023 Error Description: param error [12:31:54] Website returned: {"error_code":31023,"error_msg":"param error","request_id":56873810586324} —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: _@**.**_>

目前这个有什么办法吗?一直是这个错误

暂时没找到,不知道百度这个接口改了什么。