var stream=await this.oneDriveClient.Drive.Items[itemid].Content.Request().GetAsync();
is throwing the exception Microsoft.Graph.ServiceException.
The details of the exception is showing an ItemNotFound error code.
When checking the request by Fiddler, it seems the reponse of this call is a web page with the message: "Sorry something went wrong. Sorry you cannot access this document.".
This code was working for ages and now suddenly stopped working in the last few days.
I'm using the OneDriveSdk for downloading files from Sharepoint Online.
The following code
var stream=await this.oneDriveClient.Drive.Items[itemid].Content.Request().GetAsync();
is throwing the exception Microsoft.Graph.ServiceException. The details of the exception is showing an ItemNotFound error code.
When checking the request by Fiddler, it seems the reponse of this call is a web page with the message: "Sorry something went wrong. Sorry you cannot access this document.".
This code was working for ages and now suddenly stopped working in the last few days.
I'm using the OneDriveSdk for downloading files from Sharepoint Online.
Any help would be highly appreciated.