edge-tts icon indicating copy to clipboard operation
edge-tts copied to clipboard

No audio was received. Please verify that your parameters are correct.

Open Coreli0 opened this issue 3 weeks ago • 2 comments

No audio was received. Please verify that your parameters are correct. Traceback (most recent call last): File "/home/ubuntu/assets/cmd_main/fun/tts.py", line 94, in tts async for chunk in communicate.stream(): File "/home/ubuntu/myenv/lib/python3.9/site-packages/edge_tts/communicate.py", line 566, in stream async for message in self.__stream(): File "/home/ubuntu/myenv/lib/python3.9/site-packages/edge_tts/communicate.py", line 541, in __stream raise NoAudioReceived( edge_tts.exceptions.NoAudioReceived: No audio was received. Please verify that your parameters are correct.

I use this on my VPS

Coreli0 avatar Nov 29 '25 20:11 Coreli0

I believe MSFT made a change. If you look closer, you'll likely notice a 401 error in the logs. It was previously working for me, but stopped sometime on Tuesday.

401, message='Invalid response status', url='wss://api.msedgeservices.com/tts/cognitiveservices/websocket/v1?Ocp-Apim-Subscription-Key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&ConnectionId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&Sec-MS-GEC=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&Sec-MS-GEC-Version=1-140.0.3485.14'

kc9wwh avatar Dec 01 '25 14:12 kc9wwh

i have same error today , i install the old 7.0.0 version, this error is disapper

colddownz avatar Dec 05 '25 10:12 colddownz

I also meet this problem. installing the ”edge-tts 7.0.0“ will be solved.

mutong184 avatar Dec 08 '25 12:12 mutong184