core icon indicating copy to clipboard operation
core copied to clipboard

OpenAI Conversation - 401 Incorrect API key provided

Open gerdemann opened this issue 5 months ago • 12 comments

The problem

Hi, I have entered a correct API key, but it still tells me that it is not valid. The error message also looks like a different (hashed) key to me.

Sorry, I had a problem talking to OpenAI: Error code: 401 - {'error': {'message': 'Incorrect API key provided: w$niXtAt**dHN5. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}

What version of Home Assistant Core has the issue?

core-2024.9.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

OpenAI Conversation

Link to integration documentation on our website

https://www.home-assistant.io/integrations/openai_conversation/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

gerdemann avatar Sep 06 '24 08:09 gerdemann