Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

13331: Gather: Invalid language value


WARNING: 13331

warning-13331 page anchor
VOICE
WARNING

Use this warning to fix a <Gather> language value that is invalid for the selected speechModel, or a combination Twilio can't map to a supported provider language. Twilio passes the language value through to the provider, and when the selected language and model aren't supported, Twilio generates an error notification and the gather fails.

Possible causes

possible-causes page anchor
  • You used a malformed locale value such as en instead of a supported tag like en-US.
  • The language value isn't supported for the selected speechModel.
  • The combination of language, provider, and model isn't supported, so Twilio can't route the request to a compatible speech-to-text language.
  • Set language to a value supported by the provider and model you selected.
  • Verify that language and speechModel are compatible before you deploy the TwiML.
  • Retest the <Gather> flow after you update the configuration, and review the error notification if the warning persists.

Additional resources

additional-resources page anchor