30036: Validity Period Expired
MESSAGING
ERROR
This error occurs when your outbound message stays in Twilio's queue longer than the configured ValidityPeriod. When the time elapsed since the message was submitted exceeds ValidityPeriod, Twilio does not send the message.
- You set
ValidityPeriodtoo low for the message use case. - The message waited in the queue longer than expected because you submitted a high volume of messages in a short period of time.
- Your sender throughput or messaging rate limits caused messages to queue longer than the configured
ValidityPeriod. - A
ValidityPeriodconfigured on the message or on the Messaging Service was shorter than the time required for the message to leave Twilio's platform.
- Retry the message with a longer
ValidityPeriod. - Set
ValidityPeriodto a value that matches how time-sensitive the message is and allows enough time for normal queueing. - If you send with a Messaging Service, review the Messaging Service validity period setting in the Console and increase it if needed.
- If you set
ValidityPeriodon individual API requests, confirm the value is appropriate for your traffic pattern and sender throughput. - Reduce queue buildup by sending smaller batches or pacing traffic so your send rate is closer to your available throughput.