Skip to content

Telling me incorrect API when not incorrect #74

@aerouprising

Description

@aerouprising

I accidentally deleted my first API, so I had to make another. Ever since then, I have endlessly gotten this error: Python: Traceback (most recent call last):
File "C:\Users\Tom\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\BlenderGPT-main\lib\openai\api_resources\chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tom\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\BlenderGPT-main\lib\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
^^^^^^^^^^^^^^^^^^
File "C:\Users\Tom\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 226, in request
resp, got_stream = self._interpret_response(result, stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tom\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 619, in _interpret_response
self._interpret_response_line(
File "C:\Users\Tom\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 682, in _interpret_response_line
raise self.handle_error_response(
openai.error.AuthenticationError: Incorrect API key provided: sk-proj-*******************************************************************************************************************s68Z. You can find your API key at https://platform.openai.com/account/api-keys.

I am unsure of what to do. I have tried reinstalling everything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions