Hey! So I’m playing around with the TTS and hitting some bumps here and there. Most stuff is working fine, but when things don’t work, I’m not really sure where to look first. What’s the best way to figure out where I’m going wrong?
Hey ARahman!
Yep! Best/easiest way would be to check the response status and error message. Some common issues include:
- Invalid
voiceId(check available voices in Playground) - Text too long (chunk it)
- Invalid auth header (make sure it’s
Basic <base64_credentials>)
Also, be sure to enable verbose logging in your HTTP client to see the full request/response.
Let us know if this helped!