Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: API Rate Limit Reached. Waiting ten seconds... #235

Closed
ghost opened this issue Apr 5, 2023 · 10 comments
Closed

Error: API Rate Limit Reached. Waiting ten seconds... #235

ghost opened this issue Apr 5, 2023 · 10 comments
Labels
API access Trouble with connecting to the API

Comments

@ghost
Copy link

ghost commented Apr 5, 2023

Screenshot 2023-04-05 013834
Screenshot 2023-04-05 013834

@Provello
Copy link

Provello commented Apr 5, 2023

https://platform.openai.com/docs/guides/rate-limits

Also worth checking: https://platform.openai.com/account/usage

Check firstly if your usage limits are being hit because if you're processing a lot of tokens

@RichardAtCT
Copy link

Have you exported your private keys? Fixed it for me!

@m4ntr4r4m4
Copy link

I have the same problem.

@dzovani
Copy link

dzovani commented Apr 5, 2023

Error: API Rate Limit Reached. Waiting 10 seconds...
Error: API Rate Limit Reached. Waiting 10 seconds...
Error: API Rate Limit Reached. Waiting 10 seconds...
Error: API Rate Limit Reached. Waiting 10 seconds...
Error: API Rate Limit Reached. Waiting 10 seconds...
Error: API Rate Limit Reached. Waiting 10 seconds...
Error: API Rate Limit Reached. Waiting 1

same problem, not using api for anything else besides this app

@m4ntr4r4m4
Copy link

m4ntr4r4m4 commented Apr 6, 2023

i just fixed it. check your free usage if it 's expired. in this link : https://platform.openai.com/account/usage
if it s expired add a new billing card or create a new account.

@gourcetools
Copy link

Fixed: Even if you are gpt+ you need to add a card to get a working key. demo keys dont work.

@abhaykhawas
Copy link

abhaykhawas commented Apr 6, 2023

I have noticed when I use OPENAI_API_KEY from one of my account it works but for other account it doesn't for some reason.

My suggestion would be try creating another account or/and new api keys.

@justani
Copy link

justani commented Apr 7, 2023

This happened with me as well. I fixed by manually adding openai.organization=<my-org-id> in llm_utils.py. The rate limit error was coming because I had two organizations in my account and the API was somehow calling for the organization which doesn't have billing set.

Another option can be to update the default organization from here.

@WillBeebe
Copy link

The .env file is missing OPENAI_ORGANIZATION_ID. Add that to your environment and it solves this problem. 👍

@JuroOravec
Copy link
Contributor

Duplicate of #1189. @AuroraHolding would you close this one issue if it indeed is the same thing?

(I had this issue too - It's that we haven't opted into "paid account" on OpenAI's billing page)

I'm making an MR as we speak to update the README section on OpenAI's API key, to make this clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API access Trouble with connecting to the API
Projects
None yet
Development

No branches or pull requests