When loading a scheduler page, you run into this error:
There was an error trying to get the
timeslots for this page: [availability]
Error fetching availability: {'message':
"_schema: 'start_time' must be <
'end_time'", type":
'invalid_request_error'}
Causes
In order to fetch the available timeslots for a scheduler page, the Future Limit needs to be greater than the Minimum Booking Notice.
Resolution
- Ensure the available_days_in_future
field (labeled as Future Limit in the scheduler editor UI) has a value greater than the min_booking_notice
field (labeled as Min. Booking Notice in the scheduler editor UI).
- This can be adjusted via the Scheduler Editor > Event Info page or with a PUT request.
Resources:
Updated
Comments
0 comments
Please sign in to leave a comment.