Sharepoint API - Failed to load resource: net::ERR_CONNECTION_RESET

Iryna Mashnytska 0 Reputation points
2024-05-30T08:21:33.8766667+00:00

We have nextjs application deployed on the AWS. For user we provide opportynity to use OneDrive FilePicker (v.8).

When user just picked the file we call https://{tenant}-my.sharepoint.com/_api/v2.0/drives/{driveId}/items/{fileId} endpoint to get file info.

On other page we also use https://graph.microsoft.com/v1.0/me/drive/items/{fileId} to get @microsoft.graph.downloadUrl field and make a call to this url to download the file (that one is also starts from https://{tenant}-my.sharepoint.com/).

The issue is that one of ours testers after some period of properly working functionality in one moment starts to get error Failed to load resource: net::ERR_CONNECTION_RESET without any addional details on each https://{tenant}-my.sharepoint.com request.

Requests to https://graph.microsoft.com/v1.0 finish successfully as any request to other external API.

Could you help to figure out what is going wrong? Please!

Microsoft 365 and Office SharePoint For business Windows
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.