Our website is using Cloudflare's human check.
When a customer comes to our site for the first time, the Cloudflare check happens, then the cookie message is shown. If they click on any of the buttons on the cookie script it tries to reload the page, which we want because that is GDPR compliant.
However, since it is using JavaScript location.reload() it is trying to resubmit the form variables set by the Cloudflare human check and causing a server error. I contacted our webhost and they said they can not change how the Cloudflare check works, and suggested we ask you if it can be configure to "initiate a fresh page navigation rather than reloading the current document."
I found a JS script that patches this issue, but having it natively handled would be prefered.