rate limit exceed

  • 1
  • Problem
  • Updated 4 weeks ago
hi,

I am facing issue of rate limit exceed.
actually i have created an application which is already on production. all function was going perfectly but i was looking for minor issue in our application and i was checking data from ringcentral API Explore  after that ringcentral gives rate limit exceed error for 9th number extension id only. (my application check data for 10 extension)
Photo of Ashok Gupta

Ashok Gupta

  • 100 Points 100 badge 2x thumb

Posted 1 month ago

  • 1
Photo of Paco Vu

Paco Vu

  • 426 Points 250 badge 2x thumb
Hi Ashok,

Can you provide more specific info about which API you call and how often do you call the API.

+ Phong
Photo of Ashok Gupta

Ashok Gupta

  • 100 Points 100 badge 2x thumb
my console apps get sms, voicemail and missed call events and push it on velocify. we are using 15 extensions for getting events. and our console apps run on the interval of 5 minute, and in this 5 minute it fetch sms, voicemail and missed call events and check latest record during last 5 minute if any record found then it push into velocify. this process run for all 15 extensions.
and app was working properly but when i was looking for manual checking sms voicemail and missed call events from API Explore then it give us rate limit exceed.
and from last 40 hrs we are getting rate limit exceed error for 9th number extension only. and after that for 10th extension it running properly. i replace 8th number extension with 9th extension also it gives error for 9th extension...

please suggest me how can i resolve this issue ?
Photo of Tyler Long

Tyler Long, Official Rep

  • 5,956 Points 5k badge 2x thumb
The simplest solution is to slow down RC API invoking. For example, sleep 5 seconds after each RC AP call. Or you can request rate limit increase by sending email to devsupport@ringcentral.com
Photo of Ashok Gupta

Ashok Gupta

  • 100 Points 100 badge 2x thumb
please tell me how to resolve this issue?
Photo of Phong Vu

Phong Vu, Devangelist

  • 2,256 Points 2k badge 2x thumb
Rate limit is per API and grouped into 4 levels "Heavy", "Medium", "Light" and "Auth" (see reference). Still you did not tell me the exact API. So I guess that you use the message-store API which has the Light rate which is 50 requests/min. Based on the rate and your usage, you can implement a scheduler and timer to cause some delay for making sure you are not exceeding the limit. Or, alternatively, you can send a request to devsupport@ringcentral.com to ask for increasing the limit based on your business justification.

+ Phong