Selenium on a server vs Local machine

I’m using chromedriver to login to my Wordpress sites and I keep tripping a mod_security error →

“Not Acceptable! an appropriate representation of the requested resource could not be found on this server”

I know the script works on my local machine using all the same packages, but when I deploy it to a server (Ubuntu and Nginx) it throws the error.

Any help would be appreciated!!

Backup_Conflict_storeitspace.com|690x388