Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid x-api-key'}, 'request_id': 'req_011CTe2vatANvQyHxkxB9toB'}:Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 17, in run
File "videotrans\translator\__init__.py", line 868, in run
File "videotrans\translator\_base.py", line 81, in run
File "tenacity\__init__.py", line 480, in __call__
File "videotrans\translator\_claude.py", line 82, in _item_task
File "anthropic\_utils\_utils.py", line 275, in wrapper
File "anthropic\resources\messages\messages.py", line 901, in create
File "anthropic\_base_client.py", line 1279, in post
File "anthropic\_base_client.py", line 956, in request
File "anthropic\_base_client.py", line 1060, in _request
anthropic.AuthenticationError: Error code: 401 - {'type': 'error', 'error': {'type': 'authentication_error', 'message': 'invalid x-api-key'}, 'request_id': 'req_011CTe2vatANvQyHxkxB9toB'}
=====
Windows-10-10.0.22631-SP0
version:v3.80
frozen:True
language:zh