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

13216: Invalid timeLimit value


WARNING: 13216

warning-13216 page anchor
VOICE
WARNING

This warning appears when your <Dial> verb includes a timeLimit value that is not a positive integer in seconds. Use timeLimit to set the maximum duration of the <Dial>. If you omit timeLimit, Twilio uses the default limit of 14400 seconds, or 4 hours.

Possible causes

possible-causes page anchor
  • The timeLimit attribute is set to 0, a negative value, or an empty value.
  • The timeLimit attribute contains a decimal value instead of a whole number of seconds.
  • The timeLimit attribute includes non-numeric characters or a malformed string.
  • Your application generates TwiML dynamically and passes an invalid value into the <Dial> verb.
  • Set timeLimit to a positive integer in seconds, such as timeLimit="120".
  • Validate any user input or application variable before you add it to the <Dial> verb.
  • Convert dynamic values to a whole number before returning TwiML to Twilio.
  • Remove timeLimit if you want Twilio to use the default call limit.

Additional resources

additional-resources page anchor