project_openai_codex
project_openai_codex copied to clipboard
Solution 401 & 429 Error
I solve the issue of 429 getting an HTTP Error & Solve the Render Deployment Issue.... you have to sign up for OpenAI with your own email address (not sign up with google) and do phone verification then it will give you the free trial of $18 ..and then the code will perfectly work.
401 Render deploy Issue Solved: Make sure that your Server folder has no gitignore file the gitignore file should be in the root folder.. then deploy the server to render.com and add also your environment key into the Environment variable Now Update your fetch URL on the client side by adding your back-end render deploy URL then open your terminal and do this thing -- git init git add . git commit -m "fetch URL or something you want" git push
That should be updated, your GitHub code . Now go to the vercel select your GitHub repo The root directory should be client then hit deploy that's all .. My code is perfectly working on the live deployment
Excellent. Thanks for sharing that, @crocmons I'll give it a try now and will report back.
Initially, I am getting the same error i.e. Error 429 but later on, optimizing my code the error changed to 401, tried to debug several times but still facing the same error, Any suggestions?
Here's the hosted link: https://codex-mauve-theta.vercel.app/
@MackGrissom @bhavesh1129 401 Issue Solved: Make sure that your Server folder has no gitignore file the gitignore file should be on the root folder.. then deploy the server to render.com and add also your environment key into the Environment Variable. Now Update your fetch URL on the client side by adding your back-end render deploy URL then open your terminal and do this thing -- git init git add . git commit -m "fetch URL or something you want" git push
That should be updated, your GitHub code . Now go to the vercel select your GitHub repo The root directory should be client then hit deploy that's all .. My code is perfectly working you can check it -- https://chatbot-nine-inky.vercel.app/
@crocmons Thanks for responding but I did the same, still getting the same error.
@crocmons Thanks for responding but I did the same, still getting the same error.
@bhavesh1129 Make sure that your Server folder has no gitignore file the gitignore file should be on the root folder..
if you get 401 error all you have to do is shut the server down and restart it. he had this same error in the video. thats it.
"if you get 401 error all you have to do is shut the server down and restart it. he had this same error in the video. thats it."
How?
@crocmons I'm not able to deploy server side in render.com, It says running on localhost:5000 and after some time build fails
make sure your backend and frontend server is running, when you fire up your app render will start its own server on it's own port. this is the localhost you pull up in the web browser.