Hello @gong meng , Thanks for using Microsoft Q&A Platform.
I have reproduced the TTS in the Audio content studio, and everything worked well.
As per the error message looks like there is an issue with the SSML syntax in your exported audio file. The error message indicates that the speak
element contains a child element s
with an invalid type.
400 Bad request->A required parameter is missing, empty, or null. Or, the value passed to either a required or optional parameter is invalid. A common reason is a header that's too long.https://learn.microsoft.com/en-us/azure/ai-services/speech-service/rest-text-to-speech?tabs=streaming
Try to check these things in the Studio by enabling SSML. If the issue still persists, please share the SSML you are using <speak>..</speak> with us.
I hope this helps.
Regards,
Vasavi
-Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.