Hello,
I can't figure out why the .net core 2.2 / Angular 8 application throw 404 error when trying to upload 40 MB file using the kendo-upload. The request didn't hit the API, it throw 404 error on the client. I'm able to upload 21 MB file, i have not attempt 30, i assumed it will work up to 30 MB based on the default body size of the post request. here the error
Access to XMLHttpRequest at 'https://web-api' from origin 'https://web-client' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
HTTP Response : 404
I had attempted to
- set the MaxRequestBodySize to 50 MB in UseKestrel
- set [RequestSizeLimit(50000000)] to the API method
- update the web.config requestLimits maxAllowedContentLength="52428800"
- use [chunkable] in kendo-upload
Something to do with chunk? or some setting in Angular? setting in kendo-upload?
Thanks,
Bryian Tan