Error with speech to text api v3.2

Martin Zurita 0 Reputation points
2023-11-17T12:12:26.5166667+00:00

Hi, we recently migrated from speech to text api v3.1 to v3.2. Experiencing the following error, I understand that the new api is in preview and this could happen, but i cannot find any documentation regarding rates and limits for the v3.2 api version. Also, in policy id it says "ResourceRateLimitBy10s", does that mean that it only allows for one call every 10 seconds??

Any help is appreciated,

Thanks!!

ERROR: (429)

Reason: Too Many Requests

HTTP response headers: HTTPHeaderDict({'Content-Length': '330', 'Content-Type': 'application/json', 'Retry-After': '1', 'apim-request-id': '972a82ab-b4ad-476e-b2ab-efc8d976274e', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options': 'nosniff', 'policy-id': 'ResourceRateLimitBy10s', 'Date': 'Wed, 15 Nov 2023 16:35:51 GMT'})

HTTP response body: {"error":{"code":"429","message": "Requests to the Get Transcription Operation under Speech to Text API v3.2-preview.1 have exceeded call rate limit of your current CognitiveServices S0 pricing tier. Please retry after 1 second. Please contact Azure support service if you would like to further increase the default rate limit."}}

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
2,061 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,602 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 53,966 Reputation points Moderator
    2023-11-19T23:35:33.6766667+00:00

    @Martin Zurita

    Thanks for reaching out to us. The error message you are receiving is due to hitting the rate limit for your current pricing tier with Azure's Cognitive Services for the Speech to Text API v3.2-preview.1. The rate limit is a restriction on how many API calls you can make within a specific time period.

    The policy id "ResourceRateLimitBy10s" does not mean that it only allows for one call every 10 seconds. Instead, it refers to the rate at which your resources are being limited. The specific limits are not provided in the error message and could vary based on the pricing tier you are on.

    However, the error message does indicate that you should retry after 1 second, which suggests that the rate limit is fairly high. Also, it suggests that if you need a higher rate limit, you should contact Azure support service for assistance.

    Unfortunately, as you've mentioned, the documentation for v3.2 is in preview and may not provide specific details regarding rate limits.

    In this case, please let us know if you want a free support ticket to help you check on the limit, since we have no idea about your limit information.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    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.