yashwant Gurjar
yashwant Gurjar
Having the same problem, does not figure out how to fix it :(
> i am doing exactly same things but not working for me :(
can anyone tell me status code while trying this code ??
401 - Invalid Authentication Cause: Invalid Authentication Solution: Ensure the correct [API key](https://platform.openai.com/account/api-keys) and requesting organization are being used. source : openai api errors.
dotenv.config({path : "./config.env"}) try this it's works for me