Migrated from Redmine #730 | Author: Laurens Tilstra Status: New | Priority: Immediate, there is BUG! | Created: 2021-07-05
We try to display the start time matrix for several events at once but we quickly ran into the issue of being rate-limited (your docs mention no more than 5 calls per second, or 2 concurrent). But during ours tests we found that even if we delay the individual calls by 0,5 seconds (or more, we’ve tried 2 or 3 seconds) we still run into the rate-limit although at that time no more than 2 (non-concurrent) calls are being made per second (with a total of 5 or 6).
On occasion (while making sure noone else can trigger calls) we’ll even hit the rate-limit after just 2 calls spaced atleast a second apart.
The response message we get is also kind of curious as it’s a several KB large HTML file with somewhere in there the text “There is a queue to make a booking.” from which we infer we’ve hit the rate-limit.
Is this the correct error message for the rate-limit? Or is something else going on?
this message is kind of exception from low level engine and API engine is not sued to generate it to save power. Message is correct of course, it appears with more than 10 requests per second to both API and booking site for common users. If you need higher limits we have Enterprise solution
You’re talking about the API AND Bookings site: Are those 10 requests per second towards simplybook also for the calendar sync option that’s currently on?
We are still experiencing troubles with the API. We’ve tried to space the calls with atleast a second apart and made sure we we’re the only users making calls. The response message still is curious as it’s a several KB large HTML file with somewhere in there the text “There is a queue to make a booking.” from which we infer we’ve hit the rate-limit, which in itself is almost impossible. Do you have any advice?