I also have same issues. I can't download my one note file when its size has more than 2 GB. The error is exactly the same.
Can someone give the response to this as well?
Unable to download OneNote file using Microsoft Graph API
Hi,
I'm trying to download OneNote (.one) file inside the OneDrive using MS Graph API but always get 503 Service Unavailable Error.
I have tried 2 ways of downloading it.
First, using the URL available through the @microsoft.graph.downloadUrl property on the DriveItem.
GET /users/{userId}/drive/items/{item-id}
driveitem-get
Then, I tried to download the content using this endpoint
GET /users/{userId}/drive/items/{item-id}/content
driveitem-get-content
But the result is the same. It returns 503 Service Unavailable Error.
Here is the result if when download it from the browser using URL from @microsoft.graph.downloadUrl
Any idea what is the cause?
The file size is around 2.5 GB. Is the big OneNote size make it failed to download?
Thanks
1 answer
Sort by: Most helpful
-
Udit Berlia 1 Reputation point
2021-05-24T00:56:27.297+00:00