I am getting GPT’s response with createChatCompletion, but no matter how many times I request, I get 429 Too many requests error. Even after waiting and trying for more than a day, it’s the same.
I am developing with nodejs and requested with gpt-3.5-turbo model.
Previously, when I got 429 Too many requests, I changed the API key to a new account because it didn’t work.
If anyone has experience with this, please advise.
This error is usually there when you send a lot of requests in a very short span of time. Using exponential backoff is the best way to avoid this problem.
I am getting 429 errors with message too many requests even when way under the requests per minute and token limits. I’m getting limited based on the number of requests, but I am only sending about 30 requests per minute, with no requests more frequent than every 2 seconds. I have verified the number of actual requests being sent both in my code and on the openai usage page. This is using gpt-4 in a paid account, so the limit should be 200 requests per minute, more than 10x beyond what I’m getting limited at. Any ideas? Thanks for your help.
HELP!!
I have just created a new project, and when i tried to run it the first time, I got this error!. Didnt work even the ** first request**.
This is the code:
const configuration = new Configuration({
organization:env.organization,
apiKey: env,apiKey,
});
const openai = new OpenAIApi(configuration);
const chatCompletion = await openai.createChatCompletion({
model: ‘gpt-3.5-turbo’,
messages: [{role: “user”, content: message}],
});
What is the full error message you are getting?. Wrap your code in a try catch like this and get the message to share here if you still need help resolving the issue.
error Object { message: “You exceeded your current quota, please check your plan and billing details.”, type: “insufficient_quota”, code: “insufficient_quota”, … }