Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bug - LargeFileUploadTask will not report 100% upload progress #915

Copy link
Copy link
@ChikyChan

Description

@ChikyChan
Issue body actions

Bug Report

Prerequisites

  • Can you reproduce the problem?
  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.

Description

[Description of the bug or feature]

I was following the Upload large files using the Microsoft Graph SDKs sample to implement file upload function, and when I use this implemented function to file upload, I found that the uploadEventHandlers.progress will not be triggered while the last slice uploaded.

I checked the source code, found that if the last slice uploaded, Graph API will respond the driveItem information with 201 Created status code, and in source code, if Graph API return 201, it will return the response immediately.

Console Errors: None

Screenshots: [If applicable, add screenshots to help explain your problem]
The network requests
Network requests

LargeFileUplaodTask source code
LargeFileUploadTask.ts
Source Code

Steps to Reproduce

  1. Follow the steps Upload large files using the Microsoft Graph SDKs
  2. Login my application and proceed file upload.

Expected behavior:
LargeFileUploadTask report 100% after file upload finished

Actual behavior:
LargeFileUploadTask will not report 100% after file upload finished, like dotnet client did.

Additional Context

Add any other context about the problem here..

Usage Information

Request ID - Value of the requestId field if you are receiving a Graph API error response
None

SDK Version - [SDK version you are using] 3.0.2

  • Node (Check, if using Node version of SDK)

Node Version - [The version of Node you are using]

  • Browser (Check, if using Browser version of SDK)

Browser Name - [The name of Browser that you are using for SDK]
Edge

Version - [The version of the browser you are using]
Version 104.0.1293.47 (Official build) (64-bit)

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.