Hi all,
I am using Office 365 API to list down the events from particular mail id (e.g. abc @ xyz. onmicrosoft. com). I used following API to get events 'https :// outlook. office365. com/ api/ v1.0/ users('abc @ xyz. onmicrosoft. com')calendars/ {calendar_id}/
events' with proper calendar ID. I am able to get the list of calendar for this user, but getting exception while listing events. The response is as follows '{"@odata.context":"https :// outlook. office365. com/ api/ v1.0/ $metadata#Me/Events","value":[{"error":{"code":"ErrorInternalServerError","message":"Object
reference not set to an instance of an object."}}'.
However this was working properly till Sep 11th 2015. Does anybody know, what has been changed at API side? Why I am getting this error. When checked other APIs (e.g. office 365 mail API and Contact API), these are working as expected.
There is a API sandbox provided from Microsoft (https :// apisandbox. msdn. microsoft. com/), which is also working well for Mails and Contacts but same error for calendar APIs.