text-to-speech API ,error code: 4429

晓力 袁 0 Reputation points
2023-10-30T08:50:31.26+00:00

When calling the text-to-speech API, the interface returns failure and the error message is as follows

{
    "azureResult": "fail",
    "result": {
        "privResultId": "D752F2BAF4D94369BEC19F42B16DDE4F",
        "privReason": 1,
        "privErrorDetails": "The request is throttled because you have exceeded the concurrent request limit allowed for your sub websocket error code: 4429",
        "privProperties": {
            "privKeys": [
                "CancellationErrorCode"
            ],
            "privValues": [
                "ConnectionFailure"
            ]
        }
    }
}
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,894 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 24,890 Reputation points Microsoft Employee
    2023-10-30T09:32:16.2233333+00:00

    @晓力 袁 Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
    I understand that you are encountering an error when calling the text-to-speech API in Microsoft Azure Cloud. The error message indicates The request is throttled because you have exceeded the concurrent request limit allowed for your sub websocket error code: 4429.

    The error code 4429 you’re encountering is related to exceeding the concurrent request limit for your subscription. The limits are explained in this article. If these limits are exceeded, your requests will be throttled.

    Here are a few steps you can take to resolve this issue:

    Check your subscription tier: Ensure that your subscription tier matches your usage needs. For instance, the standard tier (S0) allows for a higher number of transactions per second (TPS) compared to the free tier. If you are using free tier, You may need to consider to use the standard tier (S0) instead.

    A standard tier TPS is 10 times higher than free tier. If you are already using standard tier and still seeing this error the limit, you might need to contact the support from Help+Support blade on azure portal and raise a case under service and subscription limits(quotas) and select your subscription and quota type as cognitive services and provide additional details about your resource and submit the request.

    Upgrade your subscription: If you’re still on the free or student tier, consider upgrading to pay-as-you-go if you have exhausted your student credit limit.

    Hope this helps.

    If you have any further queries, please let me know. I would be happy to assist.

    **
    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


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.