Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Queue overflow

ERROR: 30001

error-30001 page anchor

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 4 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).

Possible Causes

possible-causes page anchor
  • You tried to send too many messages too quickly and your message queue overflowed.
  • You tried sending all your messages from a single Sender with an insufficient send rate limit (Message Segments per Second) for that volume, and you need additional throughput to handle the volume.
  • There are Messages Per Second (MPS) limits applied for your Senders, Messaging Services, and Accounts that you may be encountering.

Rate this page: