-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
Hi
After migrating to sdk v3 I get "Upload session failed" for large files.
After debugging I found that the upload session is completed without error
com.microsoft.graph.tasks.LargeFileUploadResponseHandler#generateResult
} else if (location != null) {
logger.logDebug("Upload session is completed (Outlook), uploaded item returned.");
return new LargeFileUploadResponse<>(location);
}
But com.microsoft.graph.tasks.LargeFileUploadRequest#upload failed because the upload response contains only the location and result.chunkCompleted() is false
if (result != null && result.chunkCompleted()) {
return result;
} else
return new LargeFileUploadResponse<UploadType>(
new ClientException("Upload session failed.", result == null ? null : result.getError()));
Regards, Roman.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working