90007: Invalid validity period value
MESSAGING
ERROR
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.
validity_periodwas set to a value lower than 1 second.validity_periodwas 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_periodto an integer between 1 and 36,000. - Review the Message request payload and remove any invalid
validity_periodvalue. - 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.