Menu

Expand
Rate this page:

Warning 13521

Product: Programmable Voice

WARNING - 13521

<Say> element character limits exceeded

The maximum text length inside a verb is limited and varies depending on the option used. Basic, Polly and Google TTS have different limits and character count.
See the Say Verb API Reference for more information.

Possible Causes

The maximum text length inside the <Say> verb has been exceeded.

Possible Solutions

Make sure that the character limit is under the limit for the TTS type being used:

  • Basic TTS Voices are limited to 4096 UTF-8 single byte characters
  • Polly TTS Voices are limited to 3000 UTF-8 single byte characters; note that SSML tags do not contribute to the character count
  • Google TTS Voices are limited to 5000 UTF-8 single byte characters; note that SSML tags, newlines and spaces contribute to the character count
  • The URL-encoded string cannot exceed 4500 characters
Rate this page:

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

thanks-feedback-gif