project_openai_codex
project_openai_codex copied to clipboard
POST http://localhost:5000/ 500 (Internal Server Error)
I have signed up through my mail and password and have done phone verification for api key but the issue is same and it pops up as:
I have the same issue
Same issue with me , Did anyone know the solution please mention
I didn't get
On Fri, 6 Jan 2023, 2:42 pm Abhishek Kumar, @.***> wrote:
try changing model name in "createCompletion" function that worked for me
— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/project_openai_codex/issues/16#issuecomment-1373377941, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASW2H3OYG2O5AVZBHYT4GTLWQ7OYLANCNFSM6AAAAAATPOR7AU . You are receiving this because you commented.Message ID: @.***>
Hello guys I got the solution Just move .env file into the Server folder , I repeat just move .env file into server folder because , In the video he made .env file Outside to server file and thats why in the server.js it was not able to fetch OPENAI_API_KEY
Same issue with me , Did anyone know the solution please mention
I have mentioned it
![]()
![]()
![]()
I have signed up through my mail and password and have done phone verification for api key but the issue is same and it pops up as:
![]()
I have solved the issue please check comment section here
Thank you very much @aditimahabole .
I have signed up through my mail and password and have done phone verification for api key but the issue is same for 429 and it pops up as:
Thank you very much @aditimahabole . I have signed up through my mail and password and have done phone verification for api key but the issue is same for 429 and it pops up as:
still having problem or is it solved?
Hello guys I got the solution Just move .env file into the Server folder , I repeat just move .env file into server folder because , In the video he made .env file Outside to server file and thats why in the server.js it was not able to fetch OPENAI_API_KEY
i also followed the following steps the too an error occuered
Im getting this
Same
now I am getting proper response for some and for others have an issue as above
What did you have to do?

I posted this on another thread: Do NOT use ports 5000 or 7000 on MacOS boxes. They are used by the system for over a year now. I use 7070, and it works great. Solution found for me.
https://developer.apple.com/forums/thread/682332
@aditimahabole I am still getting 429 error.
change the secret key ,make a new secret key from OPEN AI ->VIEW APIS and then paste it in env file and use another port number
I changed the key and the port number too but still having the same error. https://a-t-a-i-s.vercel.app/ this is your deployed one right?
no this is not mine
On Thu, Jan 12, 2023 at 11:39 AM PRIYANSHU PANDEY @.***> wrote:
https://a-t-a-i-s.vercel.app/ this is your deployed one right?
— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/project_openai_codex/issues/16#issuecomment-1379859574, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASY2UVXTJ2QHIOJ3P5T5QI3WR6NY7ANCNFSM6AAAAAATPOR7AU . You are receiving this because you were mentioned.Message ID: @.***>
Can i see your project repository and test the deployed site?
i haven't deployed it because same error was showing up as you but it worked perfectly wgen we strarted from VS code .so i m sorry i wont be able to solve this problem because even if your server is running properly then also that error pops up
https://github.com/aditimahabole/A.T.A.I.S the repo @Priyanshu88
@aditimahabole It's okay. I guess this is the problem with most of the people here. Although, I had already checked out your repository and yours contributor repository too and tested the deployed version of him and the error is there too. Let me know if you find any solution further. Thanks:)
I also got the same problem but i Solved the issue by doing these things: i) Move the .env file to server folder ii) Please check if the name of api key given in .env file is same as you have declared in server.js.
i checked the above two things and my code started working
I have checked both the error is same.
Can you show the snippet of code where you are getting errors.
I've moved the .env in the server , my API keys are matching , the app is working locally but when I want to deploy it I have the following error.
It's the problem with your API calling . You can try creating new api key and adding it
I don't think the api is available for free. that's why code 401 exists