Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Microsoft.Graph.ServiceException when trying to download files using the API #206

Closed
frankguns opened this issue Dec 9, 2016 · 2 comments

Comments

@frankguns
Copy link

frankguns commented Dec 9, 2016

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.

@daboxu
Copy link
Contributor

daboxu commented Feb 25, 2017

@frankguns can you still repro it? I believe it should be fixed.

@baywet
Copy link
Member

baywet commented Oct 2, 2024

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #259 for more information

@baywet baywet closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants