msgraph-sdk-php icon indicating copy to clipboard operation
msgraph-sdk-php copied to clipboard

500 Internal Server Error with BookingAppointment

Open A6i8 opened this issue 1 year ago • 4 comments

Facing an error when trying me fetch BookingAppoinments

/solutions/bookingBusinesses/{id}/calendarView?start=2022-08-09T10:00:00+05:30&end=2022-08-16T17:00:00+05:30

When calling same API with Graph Explore its working

but with SDK throwing error

HTTP/1.1 500 Internal Server Error
Cache-Control: no-cache
Transfer-Encoding: chunked
Content-Type: application/json
Strict-Transport-Security: max-age=31536000
request-id: 5bf6cbe3-c74c-47ff-98cb-2feee2a6fca4
client-request-id: 5bf6cbe3-c74c-47ff-98cb-2feee2a6fca4

{"error":{"code":"","message":"An error has occurred.","innerError":{"date":"2022-08-09T17:29:37","request-id":"5bf6cbe3-c74c-47ff-98cb-2feee2a6fca4","client-request-id":"5bf6cbe3-c74c-47ff-98cb-2feee2a6fca4"}}}

A6i8 avatar Aug 09 '22 17:08 A6i8

@A6i8 what version of the SDK are you using?

Ndiritu avatar Aug 09 '22 20:08 Ndiritu

Thanks for quick reply

I am using

microsoft/microsoft-graph": "^1.73.0

I also tried to run query with postman

But same response error showing.

Thanks

A6i8 avatar Aug 10 '22 08:08 A6i8

@A6i8 I am also getting 500s when trying some different requests to the bookings APIs via Graph Explorer so I don't think this is an SDK issue.

@zengin @MIchaelMainer how should potential service issues be reported?

Ndiritu avatar Aug 10 '22 13:08 Ndiritu

Thanks @Ndiritu for checking your side. Is there any other ways to connect with booking API.

That will be a great help.

A6i8 avatar Aug 16 '22 10:08 A6i8