Steps to Reproduce:
1/. Install OOTB ACS v220.127.116.11
2/. Upload 2 files: fileA and fileB: (I uploaded the files to 'Repository -> Shared' but I do not think the location is relevant)
- fileA is larger than 4MB (actual size is 4.2 MB)
- fileB is smaller than 4MB (actual size is 2.9 MB)
3/. Using SHARE, try to download each file.
- fileA returns an error
- fileB downloads OK
4/. Using the REST API, try to download each file:
- fileA returns an HTTP 500 error
- fileB downloads OK.
I also tested this against ACS v18.104.22.168 and in that case, the download from SHARE worked for files larger than 4MB but the download using the REST API fails as per the above steps.
ACS v22.214.171.124 does not have this problem.