The property 'subject' does not exist on type Microsoft.OutlookServices.Event'

Priyadarshinee, Arpita (external) 21 Reputation points
2021-07-21T09:44:47.483+00:00

I am using Graph API to create calendar events. I have encountered following error on attempt to create calendar event.

"code":"RequestBodyRead","message":"The property 'subject' does not exist on type Microsoft.OutlookServices.Event'. Make sure to only use property names that are defined by the type or mark the type as open type.

I have been using the following POST request for the same.

https://graph.microsoft.com/v1.0/users/<user-id>/events

Am I doing something wrong ?
Is there any changes related to this ?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,983 questions
0 comments No comments
{count} votes