Menu

Expand
Rate this page:

Error 30001

Product: Programmable SMS

ERROR - 30001

Queue overflow

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.

Possible Causes

  • You tried to send too many messages too quickly and your message queue overflowed.
  • You tried sending all your messages from a single Sender that had a send rate limit (Message Segments per Second) and need more senders to handle the volume.
  • There are Messages Per Second (MPS) limits applied for your Senders, Messaging Services, and Accounts that you may be encountering

Possible Solutions

  • Recommended: Try using a Messaging Service with multiple senders and it will load balance for you.
  • Try adding more senders into your Messaging Service.
  • If you are messaging in the US or Canada, talk to Twilio Sales about getting a Toll Free or Short Code number that allows you to send more messages per second.
  • Try sending your message again after waiting for some time.
  • If you have set a lower Validity Period than the default and maximum value of 14400 seconds (4 hours), try setting a higher Validity Period for your messages.
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