Skip to content
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

Multipart body length limit 16384 exceeded #17441

Closed
vsfeedback opened this issue Nov 27, 2019 · 3 comments
Closed

Multipart body length limit 16384 exceeded #17441

vsfeedback opened this issue Nov 27, 2019 · 3 comments
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions Author: Migration Bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author. Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue.

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


[regression] [worked-in:16.2.2]
After updating visual studio version 16.3.2. when using Request.Form to get formdata from client side to API, I am getting error as 'Multipart body length limit 16384 exceeded.' Earlier it was working fine with Visual studio version 16.2.2. but after updating it fails on new version i.e. on 16.3.2.
I am calling web api using http post along with FormData and binding in webApi httppost method as code given below and getting error on the given line below
var data= Request.Form.ToDictionary(x => x.Key, x => x.Value.ToString());

I am using angular 5.0 version as client side and Web API .net core. 2.2 on server side.

I have also used the
services. Configure(x => x.ValueCountLimit = 50000);
in startup file.


Original Comments

Visual Studio Feedback System on 10/6/2019, 09:48 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Visual Studio Feedback System on 10/10/2019, 11:00 PM:

Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2017#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.


Original Solutions

(no solutions)

@pranavkm
Copy link
Contributor

Could you share a minimal app that reproduces the problem?

@pranavkm pranavkm added area-servers Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. labels Nov 27, 2019
@Tratcher
Copy link
Member

I'd expect this kind of error if there was a problem with the multipart format or boundary. A Fiddler trace of the repro would help.

@ghost
Copy link

ghost commented Dec 2, 2019

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

See our Issue Management Policies for more information.

@ghost ghost closed this as completed Dec 5, 2019
@analogrelay analogrelay added the Author: Migration Bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author. label Dec 5, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Jan 4, 2020
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions Author: Migration Bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author. Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue.
Projects
None yet
Development

No branches or pull requests

5 participants