Open chualanagit opened 3 years ago
Maybe my_drives[0]
is not your one drive...
Try storage.get_default_drive()
I tried that, the result is the same.
@janscas have you seen situation like this before?? Somehow onedrive is not connected to my_drives??
No, for me the default drive is onedrive. Try looking into each drive files to see which one is onedrive. If none is onedrive maybe some permission is not well set
Did you solve it @chualanagit ? I`m with the same problem.
code: `storage = account.storage() my_drives = storage.get_drives() print(my_drives)
my_folders = list(my_drives[0].get_items()) print(my_folders)
items = list(my_folders[0].get_items()) print(items)`
output:
[Drive: Documents] [Folder: Documents] []
why am I not getting any folder or files I have in my oneDrive when listing all drive and folder items???
My onedrive: