[#738] API timeout / rate limiting ("You are in a queue")

Migrated from Redmine #738 | Author: Matt Churchyard
Status: Feedback | Priority: Normal | Created: 2021-07-14


I am trying to make use of the JSON API but it appears to be effectively useless.
My company login ends in simplybook.me so I’m using user-api.simplybook.me, but I have also tried .it just to see what happens.

Based on emails from support, I’ve been told that a “You are in queue” message comes back when my company page hits more than 30 requests per 30 seconds. However I’m definitely not hitting that limit, so I can only suspect that you are limiting by hostname, which means all requests to user-api.simplybook.me are getting limited globally, making the api effectively pot luck if you get a response, regardless of how little you use it. It also seems that this response comes back from the same load balancers that handle the normal browser requests so, as other users have pointed out, it returns HTML rather than a JSON formatted error.

Am I right here? I can’t see how this is not the case based on my own experience, but it makes trying to use the API basically a waste of time. My code definitely works - but only about 5% of the time, if that. The rest of the time it fails, and when it does that it doesn’t even do it quickly, it seems to hang for anywhere up to 30 seconds or more.

Dmytro Bondarev wrote:

Please provide your company URL

Matt Churchyard wrote:

Dmytro Bondarev wrote:

Please use user-api.simplybook.it host. It will solve your problem.