Write Synchronous from web dev

I’m trying to use the wriiteSynchronous function from a web dev script, however I get the following error:

ValueError(‘Error writing to tag “Tag Name”: Access Denied’)

I assume that I need to somehow give the script the correct permissions, but I’m not exactly clear on how to achieve that.

Any help is appreciated.


Check the tag to make sure access rights are set to “Read/Write” and check the permissions section of the tag.

Access rights are set to Read/Write, and no custom permissions have been set

So after digging into this a bit further it seems that the root of my issue is that these tags are on a remote provider. So now my question is how do I write to tags on a remote provider?

See the Service Security settings for the remote Gateway to allow write permissions.


Thanks for the help!