5 min lock error

Develper issues when using the Beds24 APi.
Post Reply
be0s2s17
Posts: 3
Joined: Thu May 11, 2017 11:43 am

Hello,

We have an integration with a CRM custom sotware that on a daily basis gets bookings from all our propieties one by one for a date interval with gatBooking json api. Recently and randomly some of those properties return a lock 5 minutes error.
Is there something wrong yith your api recently? We get all properties one by one with seconds from jsons calls? How ca we solve this?

Thanks
markkinchin
Site Admin
Posts: 909
Joined: Fri Mar 02, 2012 1:43 pm

The default access limit for API calls is a maximum of 60 calls per 5 minutes.

i.e. using a sleep of 5 seconds between each call will solve your problem.

If you have many properties, the limit can be raised if there is a good reason that 60 is not enough. Request this via a support ticket.
innexpress
Posts: 14
Joined: Thu Feb 09, 2017 3:38 am

markkinchin wrote:
Wed Nov 22, 2017 5:44 pm
The default access limit for API calls is a maximum of 60 calls per 5 minutes.
Mark,

Is the limit per account or per source IP?
is the 5 minute period a rolling period or a time block count?
If are app uses a count for a 5 minute timer period and make 31 calls in the last minute of the timer block and then 30 calls in the first minute of the next timer period could this possibly trip the 60 calls per 5 minutes?
markkinchin
Site Admin
Posts: 909
Joined: Fri Mar 02, 2012 1:43 pm

It is a rolling 5 minute window per account.
If you use a 5 second delay between each call you will not exceed the limit.
Post Reply