rate_limit error, How to make sure that my limit is 5000 calls?
AnsweredI am getting rate_limit error: "error_propagate":false,"error_parameters":{},"error_detail":null,"error_description":"rate_limit","error":"rate_limit">
I don't think we are hitting 5000 calls an hour, but I do think we may be over 250. How do I make sure that my call is not marked as "Rate Limited".
I am using C sharp to connect to Podio.
Any help would be appreciated .
Thank you
Alejandro Carrasquilla
-
You can see on each operation if it's using the lower limit or not. E.g. see the 'Rate-limited' note at the top right of https://developers.podio.com/doc/items/filter-items-4496747
Here's another operation that is not using the lower limit (i.e. it doesn't have the 'Rate-limited' note): https://developers.podio.com/doc/items/get-item-22360
-
Thank you for explaining that. Also, Is the limit per Call type? Like 249 calls to update Item and 249 calls to delete item would be fine?, Also Once the limit is reached, Does it take an hour for the ban to be lift.? Or When does the time actually starts counting? Also would it be possible to raise the limit for an application?
Thank you
-
Hi Alejandro
You have 250 calls total for the "expensive" operations, so either 250 deletes or 250 updates or any combination totaling 250 calls. It is indeed per hour. The counting starts with the first call and resets every hour.
It would be good to know a little about your usecase, so we can recommend the best approach to not having to do so many "expensive" calls.
If needed we can also increase the limits, within reason.
-
Are you pulling out items one-by-one? If you're getting a lot of items from the same app it's often better to use Filter Items to fetch all the items in one API call.
Same goes when saving items. If you are manipulating values in several fields you'll want to use Update Item instead of updating each field value individually.
Please sign in to leave a comment.
Comments
9 comments