Comment

Comment by ramblerman

It looks like user@dom**.tld is actually what you set as your key.

I can generate the same error by setting

OPENAI_API_KEY="this is wrong"; chatblade test

openai.error.AuthenticationError: Incorrect API key provided: this is *rong. You can find your API key at https://platform.openai.com/account/api-keys.

if you run

echo $OPENAI_API_KEY

you should see your key which starts with sk-......... If not thats where your issue is

parent ramblerman 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton