Hello.
I have this error. Someone knows what is due?
Traceback (most recent call last):
File “c:\Users\Javi\Desktop\ChatGPT Prompt Engineering for Developers\import openai.py”, line 35, in
response = get_completion(prompt)
^^^^^^^^^^^^^^^^^^^^^^
File “c:\Users\Javi\Desktop\ChatGPT Prompt Engineering for Developers\import openai.py”, line 11, in get_completion
response = openai.ChatCompletion.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Javi\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\chat_completion.py”, line 25, in create
return super().create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Javi\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py”, line 153, in create
response, _, api_key = requestor.request(
^^^^^^^^^^^^^^^^^^
File “C:\Users\Javi\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py”, line 230, in request
resp, got_stream = self._interpret_response(result, stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\Javi\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py”, line 624, in _interpret_response
self._interpret_response_line(
File “C:\Users\Javi\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py”, line 687, in _interpret_response_line
raise self.handle_error_response(
openai.error.AuthenticationError: