#7498 Trans Error [Microsoft (Free)] 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/authTraceback (

188.26**7 Posted at: 1 hour ago

Trans Error [Microsoft (Free)] 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth
Traceback (most recent call last):

File "videotrans\translator\_base.py", line 65, in run

File "videotrans\translator\_base.py", line 95, 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\job.py", line 35, in run

File "videotrans\task\job.py", line 135, in process_task

File "videotrans\task\trans_create.py", line 608, in trans

File "videotrans\translator\__init__.py", line 860, in run

File "videotrans\translator\_base.py", line 71, 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/Javir/Downloads/video.mp4,
输出结果保存到文件夹: C:/Users/Javir/Downloads/_video_out/video-mp4,
临时文件夹: C:/Users/Javir/Desktop/Programas/win-pyvideotrans-v4.03-0626/tmp/18744/e7613d1399
已选 清理已存在
已选 启用CUDA加速
未选 降噪
ASR Channel:faster-whisper(LocalBuilt-in), model_name: large-v3, 发音语言: English, 断句方式:默认断句
Trans Channel:Microsoft (Free),原始语言:English,目标语言:Spanish, 已选 Send SRT
已选 将生成的字幕复制到视频目录下
Out Sub Format: 单字幕
代理地址:


=
system:Windows-10-10.0.22631-SP0
version:v4.03
frozen:True
language:en
root_dir:C:/Users/Javir/Desktop/Programas/win-pyvideotrans-v4.03-0626

1 Replies

#1 DeepSeek reply at 1 hour ago

This is caused by the Microsoft free translation API having been changed by Microsoft — the old endpoint edge.microsoft.com/translate/auth now returns 404 and is no longer usable.

Solutions (choose one):

  1. Update the software — Upgrade to at least v4.09 where this endpoint issue is addressed. Since you are on v4.03, download the latest full package or patch from https://pyvideotrans.com/downpackage and overwrite all files (including sp.exe, _internal and videotrans folders), not just sp.exe.
  2. Switch to a better translation channel (recommended) — Use DeepSeek:

    • Go to https://platform.deepseek.com/ , log in, top up (even 1 USD works), and get an API key.
    • In the software: Menu -> Translation Settings -> DeepSeek, paste the key.
    • In the translation channel dropdown, select DeepSeek.
  3. Use the local offline model — Select M2M100(内置) as the translation channel. On first use it downloads the model to <software dir>/models/m2m100_12b.
Note: Google Translate requires a VPN/proxy in mainland China. When Google fails, the software automatically retries with Microsoft, which currently also fails due to this endpoint change — so switching to DeepSeek or M2M100 is the most reliable fix.

Please refer to the 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