Hi Elias, please make sure your key is from OpenAI鈥檚 API keys page, starts with sk-, and has no spaces or line breaks. If in doubt, regenerate it, test it in the OpenAI Playground, then paste it again please. It鈥檚 at https://platform.openai.com/playground.
3 comments
Thank you for sharing that, did it show any error?
The messsge was API not valid.
Hi Elias, please make sure your key is from OpenAI鈥檚 API keys page, starts with sk-, and has no spaces or line breaks. If in doubt, regenerate it, test it in the OpenAI Playground, then paste it again please. It鈥檚 at https://platform.openai.com/playground.