microsoftgraph / msgraph-sdk-ruby

Microsoft Graph Ruby client library for v1 APIs
https://graph.microsoft.com
MIT License
105 stars 68 forks source link

list endpoints return empty #60

Closed mattduggan closed 1 year ago

mattduggan commented 4 years ago

If I list calendars or mail_folders, I always get an empty result:

> graph.me.calendars
=> []
> graph.me.mail_folders
=> []

However, get calendar and finding a folder returns a result:

graph.me.calendar
=> {"id":"<CALENDAR_ID>","name":"Calendar","color":"auto","change_key":"<CHANGE_KEY>"}
graph.me.mail_folders.find('inbox')
=> {"id":"<FOLDER_ID>","display_name":"Inbox","parent_folder_id":"<PARENT_FOLDER_ID>","child_folder_count":0,"unread_item_count":0,"total_item_count":0}
peombwa commented 4 years ago

Can you capture a network trace for this using Fiddler or Charles.

baywet commented 1 year ago

Thanks for reporting this issue. That version of the SDK has been deprecated a number of years ago. We're now starting the work on a new generation of this SDK and you can learn all about it on the updated readme page.