Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106091

Unexpected error when inserting OpenAI API Key

$
0
0

I have generated the API key following the documentation and I have tested the API key using this curl command:

curl https://api.openai.com/v1/models -H "Authorization: Bearer sk-proj--5rbZ6dbyE............." -H "Content-Type: application/json"

And the response list of available modules is correct, so the key is correct.
Still, all I get when I try to install the OpenAI Conversation Integration is the “Unexpected error”. There’s nothing else in the logs.
I run HA Yellow and everything is up-to-date. I’ve doublechecked the network connection from the Terminal in HA using this command:

curl -v https://api.openai.com/v1/models

And the output shows correct connection to OpenAI.

So what can be wrong?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>