Error code: 401 - {'error': {'code': 'AuthenticationError', 'message': 'The API key format is incorrect. Request id: 021775655628859d54a2e8b6146550b9b78e5e06cf50b22aea9eb', 'param': '', 'type': 'Unauthorized'}}:Traceback (most recent call last):
File "videotrans\translator\_huoshan.py", line 46, 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.AuthenticationError: Error code: 401 - {'error': {'code': 'AuthenticationError', 'message': 'The API key format is incorrect. Request id: 021775655628859d54a2e8b6146550b9b78e5e06cf50b22aea9eb', 'param': '', 'type': 'Unauthorized'}}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\__init__.py", line 963, 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 56, in _item_task
RuntimeError: Error code: 401 - {'error': {'code': 'AuthenticationError', 'message': 'The API key format is incorrect. Request id: 021775655628859d54a2e8b6146550b9b78e5e06cf50b22aea9eb', 'param': '', 'type': 'Unauthorized'}}
=
system:Windows-10-10.0.26200-SP0
version:v3.98
frozen:True
language:zh
root_dir:C:/Users/DELL/Desktop/win-pyvideotrans-v3.98-329