Checking OpenAI key issue

Sometimes, your OpenAI key might not work. Reasons could be,

  1. Incorrect or deleted key
  1. Region based access restriction by OpenAI
 

To check that, open your Terminal app,

Notion image
 

Run the following command,

replace YOUR_KEY with your OpenAI key starting with sk-

 

Error response:

Notion image
 

Good response:

Notion image
 
Did this answer your question?
😞
😐
🤩