question

Isaiah Nelson avatar image
Isaiah Nelson asked Ted Hewitt answered

Timeout too short when pulling SMS data

We are using the Ringcentral API to pull sms data for our users. Pulling data the takes longer than 90 seconds to download causes the connection to drop. There isn't any way to pull that package without the connection dropping.

sms and text messaging
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered Phong Vu edited

What endpoint did you use to read, the message-store? Can you make the date/time period shorter? Can you use the message store export instead?

2 comments
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Isaiah Nelson avatar image Isaiah Nelson commented ·

I can make the time period shorter, but the minimum amount of time for the sms zip to be ready is 20 minutes. Because of our security compliance we cannot use the export functionality as part of this automated process. We have a lot of users and if in a time of heavy load, even 20 - 30 minutes worth of data can exceed that 90 second time limit.


https://platform.ringcentral.com/restapi/v1.0/account/{accountId}/message-store-report
0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Isaiah Nelson commented ·

You you got time out when you download the .zip file? Or you get time out from running a loop to poll for the "Completed" task to get the zip files?

0 Likes 0 ·
Ted Hewitt avatar image
Ted Hewitt answered

Same issue here, we cannot download the files it times out to quickly. We have a message store with 5 parts, 7MB, 1GB, 1GB, 1GB, 500MB. always times out after 90 seconds. Tried Chrome, Postman, and even our Node server but all same outcome.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys