An error occurred (InvalidSsmlException) when calling the StartSpeechSynthesisTask operation: Invalid SSML request

0

Why does the response in case of an error omit any details like which bits of the provided SSML is invalid?

I'm currently facing a weird situation: When I try to start a StartSpeechSynthesisTask from a python application, using boto3, I get an InvalidSsmlException. But when I try the same input in the AWS Polly > Text-to-Speech console, it works flawlessly.

Bet if the Exception included more info I would find the answer on my own

pvl26
已提问 2 年前146 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则