expanded_items method returns 'The request is invalid.'
kevinjbayer opened this issue · 3 comments
I have a client that upgraded to Office 365. cal = folder.items
seems to work fine still, but it maxes out at 1000 results it looks like. I don't remember having that issue before. Tried the folder.expanded_items
method to define start and end times to return less records, but it returns 'The request is invalid' when I try the example in the README.
Well, I was able to get what I needed sorted with the folder.items
method, but I am still curious why expanded_items fails. I'll close this for now though.
So, I'm still experiencing some issues related to this. cal = folder.items
only returns 1000 entries. I can see that folder has a total_count of 2070 and I can't find items because it's not within those 1000 entries returned. I still can't get folder.expanded_items
to return anything because the request is still invalid.
Figured it out. Time format was wrong. Expected it like so: <CalendarView MaxEntriesReturned="2" StartDate="2006-05-18T00:00:00-08:00" EndDate="2006-05-19T00:00:00-08:00"/>