The create booking appointment API is returning an internalservererror

Ian Hirst 0 Reputation points
2023-04-14T12:56:53.58+00:00

https://learn.microsoft.com/en-us/graph/api/bookingbusiness-post-appointments?view=graph-rest-1.0 I am posting a body request that has previously successfully worked, but am now getting the following response. Any ideas what's wrong?

{
    "error": {
        "code": "ErrorInternalServerError",
        "message": "An internal server error occurred. The operation failed., Unable to cast object of type 'System.Collections.Generic.List`1[Microsoft.Exchange.Data.StoreObjects.StorePropertyDefinition]' to type 'System.Collections.Generic.ICollection`1[Microsoft.Exchange.Data.PropertyDefinition]'.",
        "innerError": {
            "date": "2023-04-14T12:53:39",
            "request-id": "a27d3fa9-4048-477f-a0c0-b09fa519a6e0",
            "client-request-id": "c563c5f2-d101-6c7a-9abb-fe1ce81edd6c"
        }
    }
}
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,858 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CharanyaB-MSFT 1,651 Reputation points Microsoft Vendor
    2023-04-14T13:41:42.0533333+00:00

    Hello @Ian Hirst,

    Thanks for reaching out!

    I am able to reproduce your issue locally, since, this seems to be a bug, I would recommend you report this bug by raising a support case with Microsoft, a dedicated Support Engineer will be able to assist you better. You can raise support ticket from http://aad.portal.azure.com or https://admin.microsoft.com/#/support/requests.

    Hope this helps.

    If the reply is helpful, please click "Accept Answer" and kindly upvote it. If you have additional questions about this answer, please click "Comment".

    0 comments No comments