Error code: 1007. Error details: Websocket message size cannot exceed 65536 bytes USP state

Mihai 20 Reputation points
2023-05-30T19:03:36.8466667+00:00

Hello,

I have quite a large SSML file (160KB) and trying to turn into an audio file using a custom program got the error

[Connection was closed by the remote host. Error code: 1007. Error details: Websocket message size cannot exceed 65536 bytes USP state: TurnStarted. Received audio size: 0 bytes.]

Where could I read about this limitation?

I could not find anything on https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,554 questions
0 comments No comments
{count} votes

Accepted answer
  1. romungi-MSFT 43,696 Reputation points Microsoft Employee
    2023-05-31T06:58:07.2566667+00:00

    @Mihai This limit is documented in the service limits page of the documentation.

    User's image

    Could you try to reduce the text in the SSML and retry? Thanks!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

0 additional answers

Sort by: Most helpful