deepl.exceptions.AuthorizationException: Authorization failure, check auth_key

2023/01/09 23:56

Traceback (most recent call last):
File “H:\PythonProject\test.py”, line 6, in <module>
result = translator.translate_text(“Hello, world!”, target_lang=”FR”)
File “….Python\Python39\lib\site-packages\deepl\translator.py”, line 784, in translate_text
self._raise_for_status(status, content, json)
File “C:\Users\Eddy\AppData\Local\Programs\Python\Python39\lib\site-packages\deepl\translator.py”, line 560, in _raise_for_status
raise AuthorizationException(
deepl.exceptions.AuthorizationException: Authorization failure, check auth_key

声明:未经允许不得进行商业转载,非商业转载请注明出处和链接。

Leave a Reply

Back to top