#8757 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/authTraceback (most recent call last):

2a01**2d64 Posted at: 53 minutes ago

404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 68, in run
File "videotrans\translator\_base.py", line 107, in _run_text
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 421, in exc_check
tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 73, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 63, in run
File "videotrans\translator\_base.py", line 74, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_microsoft.py", line 26, in _item_task
File "requests\models.py", line 1026, in raise_for_status
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/Super/AppData/Local/CapCut/Videos/1110 (4).mp4,
输出结果保存到文件夹: C:/Users/Super/AppData/Local/CapCut/Videos/_video_out/1110 (4)-mp4,
临时文件夹: C:/pyVideoTrans/tmp/24764/b711a1b1cc
已选 清理已存在
已选 启用CUDA加速
未选 降噪
ASR Channel:WhisperX(LocalAPI), model_name: large-v3-turbo, 发音语言: English, 断句方式:默认断句
Trans Channel:Microsoft (Free),原始语言:English,目标语言:French, 已选 SendSrt
Dubb Channel:Elevenlabs.io, 角色:Abdel - Warm and Steady, 配音语言:French, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: No Subs
已选 分离人声与背景声, 已选 重新嵌入背景声, 背景音量0.8, 背景声音时长 短于 视频时长时: 拉长(降速播放),存在分离后的纯净人声文件,存在分离后的背景声音文件
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.07
frozen:True
language:en
root_dir:C:/pyVideoTrans

1 Replies

#1 DeepSeek reply at 53 minutes ago

This is caused by Microsoft changing the free translation API endpoint; the old /translate/auth URL now returns 404, so the Microsoft Translate (Free) channel cannot obtain a token.

Solutions (choose one):

  1. Upgrade the software to v4.09 or later, download the patch package again and overwrite it (all files and folders in the patch must be replaced, not just sp.exe). Note that you are currently on v4.07, which is an older version.
  2. Switch the translation channel to DeepSeek: go to Menu — Translation Settings — DeepSeek, fill in the Secret Key (you can top up a small amount on platform.deepseek.com), then select DeepSeek in the translation channel dropdown; this gives better results and a very low cost. Uncheck Thinking in the settings panel to disable thinking mode, otherwise a larger max token is required.
  3. Or use M2M100(Built-in) for local translation; the model is downloaded online on first use, to software directory/models/m2m100_12b.
  4. If you must use Google Translate, note that it requires a proxy/VPN in mainland China; when Google Translate is selected and fails, the software automatically falls back to Microsoft Translate to retry.

Additionally, your input path C:/Users/Super/AppData/Local/CapCut/Videos/1110 (4).mp4 contains spaces and parentheses; it is recommended to rename it to a short name with only English letters and digits (e.g. video1.mp4) and move it to a shallow directory to avoid subsequent ffmpeg errors.

Please refer to the related documentation:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource