jas3333 / GPT-Helper

MIT License
140 stars 37 forks source link

Incorrect API key provided: undefined. #26

Closed samyH closed 1 year ago

samyH commented 1 year ago

Just keep getting 'Incorrect API key provided: undefined. You can find your API key at https://platform.openai.com/account/api-keys.'

Have just created an account with openAI and 2 API keys, but both have resulted in the above error.

in the .env file I have tried

REACT_APP_OPENAI_KEY = 'sk-8dL......' & REACT_APP_OPENAI_KEY = sk-8dL......

Any help to get this running is much appreciated.

samyH commented 1 year ago

Was being a numpty .env file needed to be inside the client folder not root - d'oh