Skip to contentSkip to navigationSkip to topbar
On this page

This 'From' number has exceeded the maximum number of queued messages



ERROR: 21611

error-21611 page anchor
PROGRAMMABLE SMS
ERROR

Twilio queues messages based on the sending rate of a sender or an account. For example a US long code number can send one message segment(link takes you to an external page) per second, and a short code may send over 100 message segments per second.

Messages can only be queued for 10 hours and then they automatically fail. This queue length limit can be reduced by setting a lower Validity Period(link takes you to an external page) within your Messaging Service settings or in your API requests to send messages.

You can monitor the length on your queue via the Queue Insights dashboard(link takes you to an external page).

For more information please view this FAQ(link takes you to an external page).

When a queue for a particular 'From' number exceeds 10 hours, this error will be thrown when attempting to create additional messages on the same number.

Note: If you are using a Messaging Service and the numbers in the pool experience queue overload, messages will instead fail after creation with error 30001(link takes you to an external page).

Possible Causes

possible-causes page anchor

You have attempted to enqueue more than 10 hours' worth of messages on a single Twilio phone number or sender (based on that number's MPS rate limit(link takes you to an external page)).

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.