Suddenly started receiving 429 errors (Too Many Requests)

I have been developing a project using gpt-4 turbo without issue till yesterday. Now I am receiving 429 errors with every request. My token size including data is less than 2000 and my limit is 450000TPM. I have attempted to use the chat support without much success. I have tried using a new secret key, and also tried gpt-4o but am getting the same error with every request. Is anyone else experiencing this?

Welcome @mischa11

I’d recommend checking your API credit balance.

I finally worked out that that was the reason. However, the error code is misleading, and I spent most of the day trying to get an answer from OpenAI. All the support urls that where given to me where expired, and it kept looping around with all sorts of reasons, but never once sugested that it could be a billing problem, which I could easily check and fix. I feel they need to update their chat bots if they want to use them for support.

You should include in your code extraction of the http response body upon status error - it will have useful information: in this case “…check you billing details”.