Getting 403 errors on some asynchronous ajax get requests, only on test server

I have a function that iterates throw a bunch of input elements, runs a query to check something in the database for each, and then alters a bit of CSS based on the results. It has been working for a while now but suddenly has problems. Th…