# 13331: Gather: Invalid language value

Log Level: WARNING

## Description

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

* 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.

### Possible solutions

* 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

* [Error and Warning Dictionary](/docs/api/errors)
* [TwiML Voice: `<Gather>`](/docs/voice/twiml/gather)
* [Gather element has an invalid "language" attribute value](/docs/api/errors/13512)
