Checking OpenAI key issue
Sometimes, your OpenAI key might not work. Reasons could be,
- Incorrect or deleted key
- Region based access restriction by OpenAI
To check that, open your Terminal app,
Run the following command,
curl -u :YOUR_KEY https://api.openai.com/v1/models
replace YOUR_KEY with your OpenAI key starting with sk-
Error response:
Good response:
Did this answer your question?
😞
😐
🤩