HTTP 400. The size of the request headers is too long. RRS feed

  • Question

  • User1085541741 posted

    Hello everyone,

    I am getting this error on google chrome: "HTTP 400. The size of the request headers is too long"

    when i try to run my site with visual studio 2013. Does anyone knows what can be the problem?

    Tuesday, January 6, 2015 8:49 AM


  • User281315223 posted

    Have you tried clearing your cookies within your browser?

    It could be possible that you have an overly large number of cookies being stored that will be added to any and all requests made within your browser. This can sometimes lead to issues like this. Additionally, you could try running your application within a different browser to see if that affects anything.

    As an alternate solution, you could consider increasing the size of the MaxRequestLength as mentioned in this article or within your web.config as seen below using :

            <httpRuntime maxRequestLength="1048576" />

    and :

             <requestLimits maxAllowedContentLength="1073741824" />

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 6, 2015 9:52 AM