HTTP Error 404.13 - Not Found The request filtering module is configured to deny a request that exceeds the request content length.
Verify the
If you use IIS, you need add web.config in your asp.net core 2.0 app.
If you are not using IIS you can use [RequestSizeLimit(long.MaxValue)]
or [DisableRequestSizeLimit]
attribute in your controller.
Also, you can add a global setting in Program.cs:
.UseKestrel(o => { o.Limits.MaxRequestBodySize = null; })
For more info see this https://github.com/aspnet/Announcements/issues/267