A 406 Not Acceptable error produced by your website is a result of our Web Application Firewall (WAF) called ModSecurity essentially saying:
"Your request was blocked by our security system"
In simple terms:
You tried to access a webpage, submit a form or update a page or post in WordPress when ModSecurity's security rules detected something that looked suspicious (even if it was harmless). Instead of letting the request through, ModSecurity blocked it and returned a 406 error. This is ModSecurity's way of saying "I don't accept this type of request because it might be dangerous"
Common triggers:
- Certain words in contact forms that look like hacking attempts
- File uploads with suspicious names
- URLs with characters that resemble malicious code
- Form submissions that match attack patterns
The 406 error is ModSecurity being cautious - it is better to block a legitimate request than to let a potential attack through. When this happens, the security rules usually need to be adjusted to allow your specific legitimate activity.
- SQL injection attacks
- Cross-site scripting (XSS) attempts
- Malicious file uploads
- Brute force attacks
- Various other web application vulnerabilities