OneDrive / onedrive-sdk-csharp

OneDrive SDK for C#! https://dev.onedrive.com
Other
295 stars 145 forks source link

How can use files from shared folders embedded in your OneDrive using OneDrive SDK c#? #226

Open diego2265 opened 7 years ago

diego2265 commented 7 years ago

Seems that you can not download / upload files from shared folders embedded in your OneDrive using OneDrive SDK c #.

Steps to simulate the behavior:

  1. User "A" shares a Onedrive folder named "Shared01" with user "B" with "modify" permission;
  2. User "B" incorporates "Shared01" into its own Onedrive: the folder "Shared01" appears in the root of "B";
  3. Using the c# SDK (OneDriveApiBrowser.sln) and the user "B" credentials, the folder "Shared01" is correctly visible on the root, but:

Also, if you try using the {item-id} of the files contained in "Shared01" through the request:

GET /drive/items/{item-id}/content

You get the following error: "{Code: itemNotFoundThrow site: 29a3.1155Message: Item does not exist}"

In the past, that request worked.