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
gefragt vor 2 Jahren146 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen