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

30013: TTL is too big


ERROR: 30013

error-30013 page anchor
ERROR

Twilio returned this error because the ValidityPeriod value you provided for the message is larger than the maximum allowed value. ValidityPeriod sets how long Twilio should continue trying to deliver an outbound message before it expires.

Possible causes

possible-causes page anchor
  • The request included a ValidityPeriod value greater than the supported maximum.
  • Your application passed a value in the wrong unit or converted the value incorrectly before sending the request.
  • A default retry or queue configuration in your application set ValidityPeriod higher than intended.
  • Update your request to use a smaller ValidityPeriod value.
  • Review the code that sets ValidityPeriod and confirm it sends the value in seconds.
  • Remove the custom ValidityPeriod value if you do not need to override the default message validity window.
  • Test your application with a known valid ValidityPeriod value before sending messages in production.

Additional resources

additional-resources page anchor