30013: TTL is too big
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.
- The request included a
ValidityPeriodvalue 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
ValidityPeriodhigher than intended.
- Update your request to use a smaller
ValidityPeriodvalue. - Review the code that sets
ValidityPeriodand confirm it sends the value in seconds. - Remove the custom
ValidityPeriodvalue if you do not need to override the default message validity window. - Test your application with a known valid
ValidityPeriodvalue before sending messages in production.