"Error 429, see X-Ratelimit-Reset"

Josef Sandling 20 Reputation points
2024-09-08T15:29:02.1933333+00:00

Skärmavbild 2024-09-08 kl. 16.58.09

Very beginner level. First time Azure user. Found this AI TTS googling around and it seems awesome. Paid like $2 for a token which i entered and it said I could use it for one month?

Doing some tests on what voice and speaking style to use, found the one and starting the real job when I suddenly got this Message:

You got 429 error from azure. It means you send too many request to the server. You can find out when you can try again in the network tab, see X-Ratelimit-Reset. Usually takes 1 day.

Will attach a screenshot of how it looks. Can anyone help me get this fixed and up and running again?

This is the link I use to get to that page : https://azure.microsoft.com/en-us/products/ai-services/ai-speech

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,106 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michael Taylor 60,331 Reputation points
    2024-09-08T20:25:17.18+00:00

    Most APIs have rate limits. A rate limit is the # of times you can call the API in a given timeframe. If you exceed that limit then you cannot call the API again until the timeframe elapses. This is a security and debugging feature to ensure a client isn't attempting to call an API too many times either for malicious reasons or because of a bug. Rate limits tend to be something like no more than 5 calls a minute or 100 calls an hour.

    Some APIs also have a quota limit. Quota limits tend to be associated with pricing tiers and set a fixed limit on how many times you can use an API for a given time frame. This is on top of and different than rate limits. Quotas tend to be something like 1000 calls per month or 100 calls per day.

    For your specific case the HTTP header X-RateLimit-Reset tells you when your rate limit resets and you can start calling again. Until this time all requests will fail. You just have to wait the required time, there is nothing to fix. Refer to the official docs here, identify the API calls you're making and you can see what the rate limits are.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Josef Sandling 20 Reputation points
    2024-09-08T17:57:20.71+00:00

    Anyone?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.