You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Bug Report
Prerequisites
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 with201 Created
status code, and in source code, if Graph API return201
, it will return the response immediately.Console Errors: None
Screenshots: [If applicable, add screenshots to help explain your problem]

The network requests
LargeFileUplaodTask source code

LargeFileUploadTask.ts
Steps to Reproduce
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 responseNone
SDK Version - [SDK version you are using] 3.0.2
The text was updated successfully, but these errors were encountered: