Forum Discussion
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!
9 Replies
- Jagadeesh-MSFTFormer Employee
Hi livecid7692b37964fb, could you please verify the https://docs.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http document and consent all application level permissions.
- livecid7692b37964fbCopper ContributorI have gave all permission and meeting schedule on skype but i need to schedule on microsoft team...
- Jagadeesh-MSFTFormer EmployeeCould you share the error details with us.