opencommit icon indicating copy to clipboard operation
opencommit copied to clipboard

Request failed with status code 429

Open desyatkov opened this issue 2 years ago • 41 comments

â—“  Generating the commit message.
│
└  ✖ Error: Request failed with status code 429

Introducing a minor modification (adding two new rows) to a compact file, which consists of approximately 25 lines of code, results in an error.

desyatkov avatar Mar 28 '23 07:03 desyatkov

I have same issue

jaskaran-bmninfotech avatar Mar 28 '23 09:03 jaskaran-bmninfotech

i'm getting the same response

valdo99 avatar Mar 28 '23 09:03 valdo99

I have same issue too

enesmalikozer avatar Mar 28 '23 09:03 enesmalikozer

https://help.openai.com/en/articles/6891829-error-code-429-rate-limit-reached-for-requests

shayki5 avatar Mar 28 '23 10:03 shayki5

This error message indicates that you have hit your assigned rate limit for the API. This means that you have submitted too many tokens or requests in a short period of time and have exceeded the number of requests allowed. This could happen for several reasons, such as:

  • You are using a loop or a script that makes frequent or concurrent requests.
  • You are sharing your API key with other users or applications.
  • You are using a free plan that has a low rate limit.

To resolve this error, please follow these steps:

  • Pace your requests and avoid making unnecessary or redundant calls.
  • If you are using a loop or a script, make sure to implement a backoff mechanism or a retry logic that respects the rate limit and the response headers. You can read more about our rate limiting policy and best practices here.
  • If you are sharing your organization with other users, note that limits are applied per organization and not per user. It is worth checking the usage of the rest of your team as this will contribute to this limit.
  • If you are using a free or low-tier plan, consider upgrading to a pay-as-you-go plan that offers a higher rate limit.

di-sukharev avatar Mar 28 '23 10:03 di-sukharev

sorry man , but i have a same problem

MakFly avatar Mar 28 '23 14:03 MakFly

for me was that i did not have anyumore free credits, so i needed to upgrade to a payed plan, onw i did that i was able to use the api. hope someone will find this helpful :)

valdo99 avatar Mar 28 '23 14:03 valdo99

Hi guys, I have the same error message. So I checked my OpenAI quotas and I saw that I had used $0.03 of my $18.00 free credits. So I did not reach the free limit. Anyone have an idea why have this 429 error ?

PierreThiollent avatar Apr 03 '23 14:04 PierreThiollent

Try generating a new key and using the new key.

jesusidev avatar Apr 03 '23 17:04 jesusidev

Hi guys, I have the same error message. So I checked my OpenAI quotas and I saw that I had used $0.03 of my $18.00 free credits. So I did not reach the free limit. Anyone have an idea why have this 429 error ?

I have same problem! Has it been resolved since then?

franyoadam avatar Apr 03 '23 19:04 franyoadam

Hi guys, I have the same error message. So I checked my OpenAI quotas and I saw that I had used $0.03 of my $18.00 free credits. So I did not reach the free limit. Anyone have an idea why have this 429 error ?

I have same problem! Has it been resolved since then?

No, I tried to generate a new key and use it but the problem was the same. Then I noticed that into the Usage panel of my OpenAI account the free credits that I had expired the 1st April... 😞

PierreThiollent avatar Apr 04 '23 07:04 PierreThiollent

Hi guys, I have the same error message. So I checked my OpenAI quotas and I saw that I had used $0.03 of my $18.00 free credits. So I did not reach the free limit. Anyone have an idea why have this 429 error ?

I have same problem! Has it been resolved since then?

No, I tried to generate a new key and use it but the problem was the same. Then I noticed that into the Usage panel of my OpenAI account the free credits that I had expired the 1st April... 😞

Ooooh, I have that too, thank you.

franyoadam avatar Apr 04 '23 12:04 franyoadam

Thanks! I had the same issue and upgraded to a paid plan. Now it works!

Is there any other way of extending or getting more free credits?

Johannes-Ptg avatar Apr 09 '23 11:04 Johannes-Ptg

I have an openai plus paid account and I am facing the same issue.

TiagoFuelber avatar Apr 11 '23 20:04 TiagoFuelber

Check date are not expired image

mipsou avatar Apr 16 '23 01:04 mipsou

I generated an openai key and I get the same message at the FIRST use

bdoussaugoldenbees avatar Apr 17 '23 07:04 bdoussaugoldenbees

Same message on the first use.

Yagasaki7K avatar Apr 18 '23 12:04 Yagasaki7K

I confirm with debug

image

mipsou avatar Apr 18 '23 21:04 mipsou

Same issue only used $0.25 of $18.... guessing its a bug?

codevski avatar Apr 20 '23 10:04 codevski

Same here, usually if I want commit more files together

zen0bit avatar Apr 21 '23 05:04 zen0bit

İf your free trial usage expired, you can not use

dukeofsoftware avatar Apr 23 '23 11:04 dukeofsoftware

$0.63 / $18.00

zen0bit avatar Apr 24 '23 00:04 zen0bit

at usage deteails if free trial usage didn't expired you can use at below image free trial has not expired yet image

at below image free trial expired. If you have another phone number you can get new free trial but just $5 image

you can check here

dukeofsoftware avatar Apr 24 '23 14:04 dukeofsoftware

hello all, I have the same problem as most people here. I have a premium ChatGPT account, but if I understand correctly, I need to purchase additional access to the API in order to use Open Commit? When I log into the API to check my free credits, it shows 0$/0$. Thank you for your clarification.

SeeYouh avatar Jun 28 '23 14:06 SeeYouh

hi, i dont think is only related to credit, i have a paid account and sufficient credit and getting same error. Generated new api key, and same. Lets see.

game2 avatar Aug 02 '23 04:08 game2

  1. try to commit smaller changes: not 10 files at once, check if you try to commit a huge freshly created file that exceeds the token limit
  2. make sure you actually have API access to the model you use, gpt+ doesnt mean you have all the models available
  3. make sure you have free credits, if so—you should attach a bank card to the API

please share your experience trying this 2 things above

di-sukharev avatar Sep 05 '23 12:09 di-sukharev

Stale issue message

github-actions[bot] avatar Oct 15 '23 21:10 github-actions[bot]

This is an error with your OpenAI account related to credits and subscriptions. To resolve it, please check if you have an active billing plan with your credit card (even if you have one added, you must have an active billing plan). You can verify this in your account. I've attached an image for reference.

Screenshot 2023-10-17 at 2 01 47 p m

Once you have an active payment plan, generate a new secret key.

With your new key, update your configuration with the following command oco config set OCO_OPENAI_API_KEY=YOUR_NEW_KEY

jlopezlira avatar Oct 17 '23 19:10 jlopezlira

Stale issue message

github-actions[bot] avatar Nov 30 '23 21:11 github-actions[bot]

Stale issue message

github-actions[bot] avatar Jan 10 '24 21:01 github-actions[bot]