error in calling speech_synthesizer.speak_ssml_async(ssml).get()
Ken L
5
Reputation points
when running speech_synthesis_result = speech_synthesizer.speak_ssml_async(ssml).get()
sometime it works, sometimes it shows:
""
Speech synthesis canceled: CancellationReason.Error
Error details: Connection was closed by the remote host. Error code: 1013. Error details: Status(StatusCode="ResourceExhausted", Detail="no tokens available for passthrough") USP state: TurnStarted. Received audio size: 0 bytes.
Did you set the speech resource key and region values?
""
what is the problem and how to fix it? The key and region values are all correct.