简体   繁体   中英

Too Many Requests in sending Bulk Messages using Twilio Message Service

I am getting the error below when I send bulk messages using Twilio Message Service. [HTTP 429] Unable to create record: Too Many Requests

I have around 50 numbers in the sender pool in this Message Service. And I am trying to send about 5K messages at once, some delays are Okay, But the messages couldn't be sent due to this error,

Thanks in advance,

Twilio developer evangelist here.

A 429 error means that you are exceeding the number of concurrent connections to the Twilio API. By default, this is 100, though it can vary depending on your account.

To counteract this, you should aim to make less than 100 concurrent requests to the API and implement retries with an exponential back off to allow for your other requests to finish.

There is more information on the 429 error here including further links for implementing the above strategies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM