SmartThings Text-To-Speech for Sonos (playText) not working?

So when will the textToSpeech() function be resolved?

textToSpeech() is the function that translates desired text phrases and returns audible files (mp3) to be played by connected SmartThings devices.

In it’s current state, when called, it often throws a terminating error stating “java.lang.reflect.UndeclaredThrowableException” if the requested phrase/audible file is not already cached on SmartThings servers. Sometimes it will convert and cache the phrase properly and then when the same phrase is called, it will work from then on, but most of the time new phrases throw this error and the SmartApps that rely on this function stop processing at this point (unless they use a try/catch routine).

I am handling this with a try/catch and notify in in the latest BigTalker SmartApp, but it would be nice for the issue to be resolved once and for all for all apps.

This has been an issue for many months! Why has it not been prioritized and resolved yet?

Related threads:

and so many more threads…
Please, SmartThings, resolve the issues with textToSpeech().

1 Like