Comments (16)
same to me, it worked local, but get server error after deploy.
from project_openai_codex.
@Tanimou I would advise you go through the tutorial again but carefully this time around and then watch out for your capital and small letters. They might have been mixed up somewhere. Like in my own case, i misspelled "apiKey" with a small letter "k" and my code was showing error until i figured it out.
I hope this helps
from project_openai_codex.
I already did that teejaywurld. Here's a screeshot of what I get:
I think the problem is on the client side
from project_openai_codex.
@Alia2006 Did you follow the tutorial to the end?
I believe this issue was addressed there towards the end of the tutorial
from project_openai_codex.
@Tanimou I would still advise you go over your code again and compare it to the tutorial you watched.
There must have been a mix up somewhere down the line while writing your code.
from project_openai_codex.
@Alia2006 Did you follow the tutorial to the end?
I believe this issue was addressed there towards the end of the tutorial
Yes, I have followed to the end. I guess you are saying the updtae server url part. the deployed server can response the text 'Hello from CodeX!' and when fectch in client code get repsonse with 401
from project_openai_codex.
Exactly same for me but with status code 429. It's really weird. Did you fix this Alia? After some research on that, they said that this error occurs because the client sends too many requests in a short time, so the server sends this error to kind of say: "woowooo calm down buddy, you too fast".
from project_openai_codex.
@teejaywurld I forked his repo to try on my side and I still have the same 429 code error. I think now maybe it's the region I don't know
from project_openai_codex.
@Alia2006 Did you follow the tutorial to the end?
I believe this issue was addressed there towards the end of the tutorialYes, I have followed to the end. I guess you are saying the updtae server url part. the deployed server can response the text 'Hello from CodeX!' and when fectch in client code get repsonse with 401
@Alia2006 I solve the issue of 429 getting an HTTP Error....
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.
from project_openai_codex.
@teejaywurld I forked his repo to try on my side and I still have the same 429 code error. I think now maybe it's the region I don't know
@Tanimou I solve the issue of 429 getting an HTTP Error....
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.
from project_openai_codex.
@crocmons I have to sign up where? 😅
from project_openai_codex.
@crocmons I have to sign up where? sweat_smile
Sign up here and get the secret/API key:
https://beta.openai.com/signup
from project_openai_codex.
@Tanimou if you look this screenshot you have to make a new key then add it to .env and also add it into render
=> Environment
paste the new key and save it
you are going to get that error because on the openai site they check if you use your key as public then you are not going to be able to use their api, so you have to make a new one and use it where you have been using them.
In the tutorial there is a point where the gitignore doesn't work, I solved it by deleting the document from my repository and the env to make a push and then add it one more time inside the server with the env and the new key, make the push to add it and that's how it worked for me.
from project_openai_codex.
I finally managed to resolve the issue by effectively signing up with my email and also getting a new API key and replacing it in environment variable as well. Thanks @RosaMoran and @ @crocmons
from project_openai_codex.
@Tanimou My pleasure.
from project_openai_codex.
Thank also @teejaywurld and @TidbitsJS
from project_openai_codex.
Related Issues (20)
- POST http://localhost:3000/ 500 (Internal Server Error) HOT 1
- Chat got 4 or 3.5 turbo models not supported
- POST http://localhost:5173/ 404 (Not Found) HOT 1
- Program not working after copying the exact same code as in Github. HOT 1
- Request failed with status code 429 HOT 6
- Chatbot doesn't remember previous chats and also giving answer of the question when i asked about today's date. it gives answer 11th August,2020 but today is 22nd April,2023 HOT 1
- User. Svg expected js
- 404 Error HOT 1
- Why does the client send the POST to 'https://codex-im0y.onrender.com/'? HOT 1
- KeyCode is deprecated
- Conversation Is Not Saved HOT 3
- Urgent Error facing Localhost:5173 says ~~~~~ HOT 4
- API KEY NOT GETTING RECOGNISED
- POST http://localhost:5173/ 404 (Not Found) HOT 1
- Not getting the result,could anyone solve this issue HOT 2
- Error 401
- api is not working and chat gpt tells about this error is your exceeding the api limit HOT 2
- folder is not copying
- 'openai' does not provide an export named 'Configuration' 🥲 HOT 5
- these two error are coming after adding submit and keyup in form
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from project_openai_codex.