Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Warning
Application error

13512: Gather element has an invalid "language" attribute value

Twilio Voice DocumentationVoice

Description

description page anchor

A Gather element has an invalid value for its "language" attribute. See the accepted language values list and update your Gather TwiML.

Possible causes

possible-causes page anchor

Your Gather TwiML has an invalid language attribute value. (Example: en is an invalid value, but en-US is a valid value.)

Find your preferred language in this list of accepted values and update your Gather TwiML accordingly.