1

I getting this error in my project while adding items in the cart:

org.apache.coyote.http11.HeadersTooLargeException: An attempt was made to write more data to the response headers than there was room available in the buffer. Increase maxHttpHeaderSize on the connector or write less data into the response headers.

1 Answers1

1

I faced similar issue and found that it was due to large amount of cookies that got set in response headers.

Please try debugging the coyoteResponse object which has headers field for more information.

Also check: HeadersTooLargeException - response headers