Find answers from the community

Updated 2 months ago

Hello i am having the following error, i

Hello i am having the following error, i know i am not making that many request per minute, it was working perfect until maybe 1 day and now it started failing;

Plain Text
2024-05-08 13:15:21,369 - openai._base_client - INFO - Retrying request to /embeddings in 6.947019 seconds (_base_client.py:927)
2024-05-08 13:15:28,721 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/embeddings "HTTP/1.1 429 Too Many Requests" (_client.py:1027)
2024-05-08 13:15:28,723 - openai._base_client - INFO - Retrying request to /embeddings in 7.414641 seconds (_base_client.py:927)
2024-05-08 13:15:36,494 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/embeddings "HTTP/1.1 429 Too Many Requests" (_client.py:1027)
2024-05-08 13:15:36,495 - openai._base_client - INFO - Retrying request to /embeddings in 6.268730 seconds (_base_client.py:927)
^C^C



2024-05-08 13:15:43,168 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/embeddings "HTTP/1.1 429 Too Many Requests" (_client.py:1027)
2024-05-08 13:15:43,169 - openai._base_client - INFO - Retrying request to /embeddings in 6.461716 seconds (_base_client.py:927)
2024-05-08 13:15:50,020 - httpx - INFO - HTTP Request: POST https://api.openai.com/v1/embeddings "HTTP/1.1 429 Too Many Requests" (_client.py:1027)
2024-05-08 13:15:50,021 - llama_index.llms.openai_utils - WARNING - Retrying llama_index.embeddings.openai.get_embeddings in 0.20855130440353753 seconds as it raised RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}. (before_sleep.py:65)
L
F
10 comments
Do you have credit on your openai account? They changed it so that you have to pay ahead of time for credit
I have my card loaded
So it should be able to have it
thats not enough though, you have to actually buy credits (unless you enabled auto-recharge)
I have $9 for example
Ohh damn. Ok will do. Thanks man i didnt noticed that they changed that
yea its super annoying haha
Add a reply
Sign up and join the conversation on Discord