Docuements can be updated from a local server app, but nothing would get updated from the deployed app

What would be the potential causes?
The code is the same, the only difference is that one is running locally and sending update queries to the cluster, the other deployed and sending the same queries to the same cluster.

The query modifies one property of the target document.

I’m running out of ideas… not sure what could potentially cause this, please help!