Unable to schedule past 32 days?

I’m using this app as a starting point: https://www.youtube.com/watch?v=vTfDarZlNiU

But I’m unable to schedule past 30-32 days? That’s not useful at all, my grooming clients are typically on a 6-8 week schedule. How can I remove the scheduling/availability limit to allow booking further out?

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Bookings API
Create and Manage Bookings
Guidelines and Limitations

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

The Square Bookings API currently supports searching for available slots within a maximum range of 31 days. This is a limitation imposed by the API itself. If you need to schedule appointments further out, you would need to implement a mechanism in your application to handle bookings beyond this range. This could involve making additional API calls as time progresses to fill in availability for dates beyond the initial 31-day window.

This answer was reviewed by @Bryan-Square.

This fixed it by making chunks of days and flattening them.