The request was rejected because the URL contained a potentially malicious String "%25

I am getting this error: org.springframework.security.web.firewall.RequestRejectedException. This happens when trying to render and display a DT table. And it only happens sometimes. In the browser console, I get the XMLHttpRequest Error.