[GH-ISSUE #1015] OpenAI::CreateModeration failed with: Request failed with status code 429 #627

Closed
opened 2026-02-22 18:20:33 -05:00 by yindo · 1 comment
Owner

Originally created by @mdibiaso152 on GitHub (Apr 2, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1015

How are you running AnythingLLM?

Local development

What happened?

I am getting the error code when trying to communicate with the anythingllm interface. I have generated mupliple API keys and I am not seeing usage on any of my keys in open AI's API page. I am running this both locally and the AWS ec2 version with the same keys and I am getting the same error. I found this issue on this repo https://github.com/Mintplex-Labs/anything-llm/issues/251 and followed the recommended fix in here with no change. Any ideas?

Are there known steps to reproduce?

No response

Originally created by @mdibiaso152 on GitHub (Apr 2, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1015 ### How are you running AnythingLLM? Local development ### What happened? I am getting the error code when trying to communicate with the anythingllm interface. I have generated mupliple API keys and I am not seeing usage on any of my keys in open AI's API page. I am running this both locally and the AWS ec2 version with the same keys and I am getting the same error. I found this issue on this repo https://github.com/Mintplex-Labs/anything-llm/issues/251 and followed the recommended fix in here with no change. Any ideas? ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:20:33 -05:00
yindo closed this issue 2026-02-22 18:20:33 -05:00
Author
Owner

@timothycarambat commented on GitHub (Apr 2, 2024):

Your OpenAI key is not valid due to a billing issue (or lack of credits most likely). The 429 error indicates a "rate limit" but also quite often just means the API key cannot be used with the account as the account lacks a credit balance or an associated billing account.

That issue being referenced was before OpenAI swapped to their credit based model and since they have done that the 429 error nearly 100% of the time is billing related. Will need to fix on platform.openai.com - its not related to AnythingLLM 👍

@timothycarambat commented on GitHub (Apr 2, 2024): Your OpenAI key is not valid due to a billing issue (or lack of credits most likely). The 429 error indicates a "rate limit" but also quite often just means the API key cannot be used with the account as the account lacks a credit balance or an associated billing account. That issue being referenced was before OpenAI swapped to their credit based model and since they have done that the 429 error nearly 100% of the time is billing related. Will need to fix on platform.openai.com - its not related to AnythingLLM 👍
yindo changed title from OpenAI::CreateModeration failed with: Request failed with status code 429 to [GH-ISSUE #1015] OpenAI::CreateModeration failed with: Request failed with status code 429 2026-06-05 14:36:21 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#627