---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/13327#article
headline: "13327: Gather: Invalid speechTimeout value"
url: https://www.twilio.com/docs/api/errors/13327
inLanguage: en
dateModified: 2026-03-20T20:33:25.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 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)
