#4560 RuntimeError: Error code: 403 - {'error': {'code': 'AccountOverdueError', 'message': 'The request failed because your ac

2a02:6ea0* Posted at: 1 hour ago 👁5

Error code: 403 - {'error': {'code': 'AccountOverdueError', 'message': 'The request failed because your account has an overdue balance. Request id: 0217787535851770d297e7e13613f5b288cfd2cb29f624acf655f', 'param': '', 'type': 'Forbidden'}}
Traceback (most recent call last):
File "videotrans\translator\_huoshan.py", line 45, in _item_task
File "openai\resources\responses\responses.py", line 898, in create
File "openai\_base_client.py", line 1297, in post
File "openai\_base_client.py", line 1070, in request
openai.PermissionDeniedError: Error code: 403 - {'error': {'code': 'AccountOverdueError', 'message': 'The request failed because your account has an overdue balance. Request id: 0217787535851770d297e7e13613f5b288cfd2cb29f624acf655f', 'param': '', 'type': 'Forbidden'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 65, in run
File "videotrans\task\trans_create.py", line 658, in trans
File "videotrans\translator\__init__.py", line 973, in run
File "videotrans\translator\_base.py", line 97, in run
File "videotrans\translator\_base.py", line 161, in _run_srt
File "videotrans\translator\_huoshan.py", line 55, in _item_task
RuntimeError: Error code: 403 - {'error': {'code': 'AccountOverdueError', 'message': 'The request failed because your account has an overdue balance. Request id: 0217787535851770d297e7e13613f5b288cfd2cb29f624acf655f', 'param': '', 'type': 'Forbidden'}}


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:F:/FanYi/win-pyvideotrans-v3.99

1 Replies

这是账户欠费导致的访问被拒绝。您的火山引擎翻译 API 账户余额不足,请求被禁止。

解决方案:

  1. 登录火山引擎控制台,检查当前账户余额。
  2. 充值后即可恢复正常使用。
  3. 如需继续使用该渠道,请确保充值完成并重试任务。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource