Closed samyH closed 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......
REACT_APP_OPENAI_KEY = 'sk-8dL......'
REACT_APP_OPENAI_KEY = sk-8dL......
Any help to get this running is much appreciated.
Was being a numpty .env file needed to be inside the client folder not root - d'oh
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.