[#324] "Time slot is not available" for free slots

Migrated from Redmine #324 | Author: Vladimir Petukhov
Status: New | Priority: Normal | Created: 2019-01-31


Good morning,

hope everything is wonderful for you, we are using SimplyBook API to make appointments. From time to time Simplybook API returns an error “Time slot is not available” in spite of booking time is available and slot size is correct. The interesting thing is all free slots around such “unbookable” slots are quite bookable. Although the booking for such “unbookable” slots could be created manually via Simplybook Admin panel but not from API side. We use Public API for making such booking.

This happens not systematically so it is not connected with the service’s or the service instructor’s setting.

Please look at this issue because it leads to unpredictable “hols” in the service provider’s schedule. Thank you.

Redmine Admin wrote:

Please provide us example of unbookable slot which you think is bookable.

Vladimir Petukhov wrote:

Because of the inability to predict which slot is unbookable, it could take some time to give you such example. So, please, do not close this issue in bug tracker I will report about such slot as soon as I have a report from our support. Thank you.

Redmine Admin wrote:

we need example to investigate the issue.

Vladimir Petukhov wrote:

Good morning,

here below our support has found “unbookable” slot.

booking client Id: 2158
event Id: 20
Date “2019-02-28”
Time: “09:00:00”
location Id: 1
unit Id: 3

our application receives an error: “Selected time start is not available”.

for the booking we use Public Service API “book” method. The interesting thing is the next time-slot is quite bookable via API.

Please check this out.

Redmine Admin wrote:

what is your company login?

Vladimir Petukhov wrote:

mydrivingacademy, sorry forgot to point this out.

Redmine Admin wrote:

There is google calendar event for Christer Höglund
at this time. You can esily see it here https://mydrivingacademy.secure.simplybook.it/v2/index/index

Vladimir Petukhov wrote:

But there is no booking at that time. Is the ability of the booking creation is rely on google calendar events? What if there is some external calendar event which is not connected with booking in the provider’s calendar? Will we be able to create a booking in this case?

Redmine Admin wrote:

You have google calendar sync feature enabled. You also enabled option to block time when calendar event takes place. please contact our live help if need more explanations. It is not something related to API and your system is working as it should according to your settings.

Vladimir Petukhov wrote:

Good morning,

here another case:
clientId: 3235
date: 2019-04-12
eventId: 21
locationId: 5
time: 15:00:00
unitId: 36

There are no events in the provider’s calendar for this time. Alo all future booking slots(starting from this date) are unbookable. Please check this case.

with best regards Vladimir

Redmine Admin wrote:

Did you check max time before booking setting?

Vladimir Petukhov wrote:

I have checked and this was the issue. Thank you very much for your help.