wix-bookings-backend Internal Server Error

I’m receiving 500 errors when querying my bookings (see https://www.wix.com/velo/reference/wix-bookings-backend/bookings/querybookings)..) These errors started about a week ago. I had been using this API endpoint for about a year with no issues. Is this a known issue?

The exact code referenced above no longer works when executed inside of a back end code file.

My website is www.therosieglow .com

Thanks, Brian.

Hi Brian,
I will have a look and update soon

Great, thank you for your help. Here’s a sample response from the API in case it’s helpful:

{
“requestId”: “1628371876.0075877692135123666”,
“code”: “INTERNAL_SERVER_ERROR”
}

Hi Brian,
All I see on your site now that calling queryBookings() returns status 200 but the response is empty.
To see all bookings on your site, please use suppressAuth.

Thank you so much!

I was so close. I tried the suppressAuth option in the bookings REST API, and also as an argument to the queryBookings() method, but must have missed in the documentation that options can be passed via find().

@bsatorius No problem Brian, glad it works now.