-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null SharepointIds on File upload using Dotnet Graph SDK 5 #2429
Comments
@andrueastman is #2369 applicable for large file uploads using LargeFileUploadTask also? |
Re-opening for clarification. @sant2006 Any chance you can confirm what you mean by the LargeFileUploadTask? |
@andrueastman kindly see the note section in the page you have provided above for LargeFileUploadTask. To be more specific SDK4 supported chunked uploading using upload session as described in the page you have posted above and and UploadChunkRequest class which has uploadChunkRequest.PutAsync, putAsync had query option to get sharepointids. I don't think sdk5 has UploadChunkRequest ?? So I've LargeFileUpload task as suggested in the above page which has no query option to get sharepointids, |
Re-opening for now. @sant2006 Any chance you could share a sample of how you would pass the query option to the large file upload task to help understand this better? |
@andrueastman kindly note that the bug I've filed is for "LargeFileUploadTask.UploadAsync has no option to add any query parameters to the request". See the uploadAsync request below, that returns a driveItem , but sharepointIds not populated.
Thanks |
Small file upload using ContentRequestBuilder PutAsync and large file upload using LargeFileUploadTask - both of these have null SharepointIds property in the response drive item. ContentRequestBuilder PutAsync uses DefaultQueryParameters which has no option to add any query parameters. LargeFileUploadTask.UploadAsync has no option to add query parameters to the request.
Expected behavior
Request has option to select SharepointIds or response drive item to have SharepointIds populated along with other properties
Client version
5.37, 5.40
Additional context
I need to make an addition get drive item request to get sharepointids which is inefficient.
The text was updated successfully, but these errors were encountered: