Menu

Expand
Rate this page:

Error 21611

Product: Programmable SMS

ERROR - 21611

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

You have attempted to enqueue too many messages for a given 'From' number. 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 per second, and a short code may send over 100 message segments per second.

Messages can only be queued for 4 hours and then they automatically fail. This queue length limit can be reduced by setting a lower Validity Period 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.

For more information please view this FAQ.

When a queue for a particular 'From' number exceeds 4 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.

Possible Causes

  • You have attempted to enqueue more than 4 hours' worth of messages on a single Twilio phone number or sender (based on that number's MPS rate limit)

Possible Solutions

  • Slow down your sending rate to avoid queuing on your Twilio number
  • Consider using a Messaging Service to better distribute message throughput, if appropriate for your use case
Rate this page:

Thank you for your feedback!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more