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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,271 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,826 questions
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.