Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

批量重命名时候提示报错这个是啥意思? #65

Open
hg612 opened this issue Aug 6, 2021 · 3 comments
Open

批量重命名时候提示报错这个是啥意思? #65

hg612 opened this issue Aug 6, 2021 · 3 comments

Comments

@hg612
Copy link

hg612 commented Aug 6, 2021

message: {'error_code': 31034, 'error_msg': 'pcs refuse service', 'request_id': 5043891251155860743}

@PeterDing
Copy link
Owner

请务必确保你的描述依从 bug issus 模板,不然无法找到问题。

@hg612
Copy link
Author

hg612 commented Aug 6, 2021

请务必确保你的描述依从 bug issus 模板,不然无法找到问题。

请清楚的描述你遇到的问题:
对网盘里面的多个文件循环使用BaiduPCSApi里面的rename方法后,大概运行60次以后出现以下报错:
error_code: 31034, message: {'error_code': 31034, 'error_msg': 'pcs refuse service', 'request_id': 5043891251155860743}
如果是隔一秒rename一次就不会报错,但是效率太低了,是不是百度云那边做了限制?

Envrionment / 运行环境

  • OS: [e.g. Windows]
  • Python [e.g. Python3.8]
  • BaiduPCS-Py Version [e.g. v0.6.25]

@PeterDing
Copy link
Owner

这个应该是百度云的限制。你可以自己写脚本来处理这个错误。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants