After updating to the new version of the calendar, I’ve started to receive the following error from the Bookings API:
{
code: 'ycbm_api_booking_invalid_duration_too_short',
errors: [],
httpCode: 400,
httpStatusCode: 400,
message: 'Booking duration is shorter than required',
status: 'BAD_REQUEST',
type: 'YcbmApiException'
}
I can guess from the content that the duration you are trying to book is short.
However, the duration in the profile is set at 30 minutes,
The bookings API is populated as follows.
{
startsAt: "2023-09-08 12:00:00",
timeZone: "Asia/Tokyo",
units: 1,
numberOfSlots: 1,
answers: [
...answer values
]
}
Any guidance on how to resolve this would be greatly appreciated.