Forum Discussion

livecid7692b37964fb's avatar
livecid7692b37964fb
Copper Contributor
May 13, 2021

Facing some error when creating event ?

Error "UnableToDeserializePostBody" when trying to create calendar event(Microsoft Teams) through Outlook 1.0 API

Hi Team,

I am trying to create a microsoft teams meeting using graph API(post).

I have used Post request(v1.0) to a url : https://graph.microsoft.com/v1.0/me/events and I am using "application/json" as content type .

 

But, when I triggered the url, It is throwing me an 400 error :"code": "UnableToDeserializePostBody".

 

I have provided all the details in the body like :attendees,starttime,endtime and also below parameters.

 

"isOnlineMeeting": "True",

"onlineMeetingProvider": "teamsForBusiness"

 

Please kindly help me to resolve this issue!

 

Resources