-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Needs: Attention 👋Original poster responded to request for feedback, awaiting attention from Microsoft / community.Original poster responded to request for feedback, awaiting attention from Microsoft / community.area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APICategory: SharePoint Client Side Object Model SDK / REST APIstatus:to-be-reviewedIssue needs to be reviewed by Microsoft for additional follow up / review.Issue needs to be reviewed by Microsoft for additional follow up / review.type:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active worktype:bug-confirmedConfirmed bug, not working as designed / expected.Confirmed bug, not working as designed / expected.
Description
Category
- Bug
Describe the bug
We're using :
/_api/web/GetFileById('<file_guid>')/$value
Or
/_api/web/GetFileByServerRelativeUrl('')/$value
We see that on many aspx files and on large files, the content that is returned is incomplete.
In the files properties I see one size and when entire stream is read. We see it constantly in Site Pages aspx files, and from time to time on large files. Network issues are eliminated. Some other people are also complaining about this issue :
https://stackoverflow.com/questions/59737754/sharepoint-rest-api-returns-incomplete-content-of-file-during-downloading
Expected behavior
Returned content length should be exactly the same as in file properties form Sharepoint.
Developer environment
REST API
Thanks
Metadata
Metadata
Assignees
Labels
Needs: Attention 👋Original poster responded to request for feedback, awaiting attention from Microsoft / community.Original poster responded to request for feedback, awaiting attention from Microsoft / community.area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APICategory: SharePoint Client Side Object Model SDK / REST APIstatus:to-be-reviewedIssue needs to be reviewed by Microsoft for additional follow up / review.Issue needs to be reviewed by Microsoft for additional follow up / review.type:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active worktype:bug-confirmedConfirmed bug, not working as designed / expected.Confirmed bug, not working as designed / expected.