I'm trying to transfer events using Outlook REST API in Office 365 email inbox.
Here is my request to receive all events in 2016 that user@example.org is present at :
https://outlook.office.com/api/v2.0/me/calendarview/?startdatetime=2016-01-01T00:00:00Z&enddatetime=2017-01-01T00:00:00Z&$filter=Attendees/any(a: a/EmailAddress/Address eq 'user@example.org')
This server responds with the following error:
{
"error": {
"code": "ErrorInternalServerError",
"message": "Value cannot be null.\r\nParameter name: source"
}
}
From what I can tell, this is really an internal error on their servers .
When I omit the $ filter parameter or use a simpler one (for example, Subject eq 'test'), I get the correct answer, so I assume that it has something to do with any operator.
?