I was trying to upload the a larger file (500mb) to SharePoint Online document library. I followed the way to upload the file in Chunks with the Article: Programmatically Uploading Large Files In SharePoint Online
Startupload and continueupload works well But, finishupload(uploadid,offset) fails at last chunks with an saying:
"Microsoft.SharePoint.Utilities.SPBITSSessionIncompleteException" "The upload was incomplete, Try to save again"**.
I have already tried changing the chunk size 10mb to 100mb but It fails every time at finishupload.
The same behavior works fine when I use a CSOM way, following this code: https://piyushksingh.com/2016/07/22/upload-large-files-to-sharepoint-online/