Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

90007: Invalid validity period value

Twilio Messaging DocumentationMessaging

Description

description page anchor

The validity_period value for a Message or Messaging Service is outside the supported range. Set the value in whole seconds between 1 and 36,000, which is a maximum of 10 hours. If the message stays in Twilio's queue longer than the configured validity period, Twilio does not send it.

Possible causes

possible-causes page anchor
  • validity_period was set to a value lower than 1 second.
  • validity_period was set to a value higher than 36,000 seconds.
  • The value was configured on the Message request or on the associated Messaging Service with an invalid number.
  • Set validity_period to an integer between 1 and 36,000.
  • Review the Message request payload and remove any invalid validity_period value.
  • If you use a Messaging Service, update the Validity period setting in the service configuration.
  • Use the default value of 36,000 seconds if you do not need a shorter queue time.

Additional resources

additional-resources page anchor