1

Our site is set up to access through a CDN.

When a WFFM Form is submitted with image sizes of 3MB, it returns a "413 Request Entity Too Large" status error.

I have found, in online documentation, that this error may suggest a file upload limit of the CDN, but our hosting provider has told us that it is a result of too much information in the Request Payload headers from the WFFM submission. He has recommended that we try to trim the headers on form submission requests.

i.e.

enter image description here

Does this sound like it could be the issue? Any details to help explain the issue or to help with actually trimming these headers would be greatly appreciated.

1 Answer 1

1

I got some help from one of my colleague about this issue

So basically the suggestion made by the hosting provider about Request Header size is incorrect.

There is a defined limit for Request Headers in CloudFront

The limit is at 20,480 bytes (Maximum length of a request, including headers and query strings) >

But, Request Payload is not a part of the Request Header. Our request header size is in normal range.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.