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

Iryna Mashnytska 0 Reputation points

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}{driveId}/items/{fileId} endpoint to get file info.

On other page we also use{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}

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} request.

Requests to 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.
11,119 questions
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,065 questions
0 comments No comments
{count} votes