#3163 TaskCfg(cache_folder=None, target_dir='D:/Thư mục mới (2)/output/translate', remove_noise=False, is_separate=False, de

2001:ee0* Posted at: 13 hours ago 👁12

Trans Error [OpenAI ChatGPT] Too many requests, please try again later or adjust settings Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
Traceback (most recent call last):
File "videotrans\task\job.py", line 174, in run
File "videotrans\task\_translate_srt.py", line 45, in trans
File "videotrans\translator\__init__.py", line 966, in run
File "videotrans\translator\_base.py", line 102, in run
File "videotrans\translator\_base.py", line 165, in _run_srt
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 439, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_chatgpt.py", line 138, in _item_task
File "openai\_utils\_utils.py", line 286, in wrapper
File "openai\resources\chat\completions\completions.py", line 1192, in create
File "openai\_base_client.py", line 1259, in post
File "openai\_base_client.py", line 1047, in request
openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
TaskCfg(cache_folder=None, target_dir='D:/Thư mục mới (2)/output/translate', remove_noise=False, is_separate=False, detect_language=None, subtitle_language=None, source_language=None, target_language=None, source_language_code='Simplified Chinese', target_language_code='Vietnamese', source_sub='E:/qewt.srt', target_sub='D:/Thư mục mới (2)/output/translate/qewt.Vietnamese.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles='', novoice_mp4=None, noextname='qewt', shibie_audio=None, targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=3, tts_type=None, recogn_type=None, model_name=None, voice_autorate=False, video_autorate=False, cuda=False, name='E:/qewt.srt', basename='qewt.srt', ext='srt', dirname='E:/', shound_del_name=None, uuid='21adac9752', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=2, only_out_mp4=False, fix_punc=False, recogn2pass=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.96
frozen:True
language:en
root_dir:D:/Thư mục mới (2)

1 Replies

The error is due to insufficient quota or billing issues with your OpenAI API account, not a rate limit from pyVideoTrans itself.

  1. Check your OpenAI account billing: Log in to your OpenAI platform account (platform.openai.com) and verify that you have sufficient credits or a valid payment method set up. The error message insufficient_quota indicates your account has no available funds or your free trial credits have expired.
  2. Switch to an alternative translation channel: While resolving your OpenAI billing, you can temporarily use another translation service within pyVideoTrans.

    • Go to Menu -> Translation Settings.
    • Select a different channel, such as DeepSeek (requires an API key from deepseek.com) or Google Translate (may require a proxy).
    • Configure the new channel with the correct API URL and Key, then save and retry the translation task.

Please refer to the relevant documentation:

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