question

gaash-granot avatar image
gaash-granot asked ·

throttling problem

hi,

i read and followed all your articles about throttling, but still i'm getting 429 from you, 
although i didn't reach the rate limit.
https://developer.ringcentral.com/api-docs/latest/index.html?_ga=2.28902133.890627266.1513606733-126...
http://ringcentral-faq.readthedocs.io/en/latest/api_usage_plan/#usage-plan-faq

i did a lot of digging, until i found the following post
https://devcommunity.ringcentral.com/ringcentraldev/topics/ringcentral-csharp-handling-429-exception...
which specifies, that in addition to the general rate limit, there's also a limitation of 3 requests  per second.

please acknowledge such a limitation.


thanks,

gaash
topic-default
1 |1000 characters needed characters left characters exceeded

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

Tyler Liu avatar image
Tyler Liu answered ·
I am unaware of   a limitation of 3 requests  per second.

Throttling is per minute:  http://ringcentral-api-docs.readthedocs.io/en/latest/rate_limits/

But if you do encounter 429, you need to slow down the api access. Best practice is to write proper code to handle 429 instead of assuming you will never encounter it.

And by the way, there might be multiple instances of your app running so they will share the throttling quota.
1 comment Share
1 |1000 characters needed characters left characters exceeded

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

thanks.

i already handle 429 cases, but the problem is that i encounter them even when the application doesn't reach the rate limit (i get it when the application has sent only 43-46 calls, when the limit is 50). 
i have only one thread that sends the requests, so it's not a shared resources problem.
0 Likes 0 · ·
Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary answered ·

If you still have an issue and feel that the limit is restricting your requirements, what you can do is you need to send your request to devsupport@ringcentral.com and ask them for modifying the limit based on your business requirement.

Share
1 |1000 characters needed characters left characters exceeded

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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