# 13327: Gather: Invalid speechTimeout value

Log Level: WARNING

## Description

This warning appears when `<Gather>` receives a `speechTimeout` value that is not a positive integer or `auto`. Twilio measures `speechTimeout` in seconds.

### Possible causes

* The rendered `<Gather>` TwiML sets `speechTimeout` to a value outside the accepted `positive integer` or `auto` values.
* The `speechTimeout` value is malformed, missing, or otherwise not parseable as a valid timeout value for `<Gather>`. This follows from the accepted-value constraint for the attribute.
* The `<Gather>` configuration includes `speechModel` but uses `auto` for `speechTimeout`, which is not allowed for that combination.

### Possible solutions

* Set `speechTimeout` to a positive integer number of seconds or to `auto`.
* Check the TwiML your application returns and confirm the rendered `<Gather>` includes a valid `speechTimeout` value.
* If you use `speechModel`, set `speechTimeout` to a positive integer and do not use `auto`.

#### Additional resources

* [TwiML Voice: `<Gather>`](/docs/voice/twiml/gather)
* [Error and Warning Dictionary](/docs/api/errors)
* [Troubleshooting](/docs/comms/troubleshooting)
