lrose
October 16, 2017, 1:59pm
1
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.
Thanks,
Check the tag to make sure access rights are set to “Read/Write” and check the permissions section of the tag.
lrose
October 16, 2017, 2:24pm
3
Access rights are set to Read/Write, and no custom permissions have been set
lrose
October 16, 2017, 4:23pm
4
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?
mm3
October 16, 2017, 4:40pm
5
See the Service Security settings for the remote Gateway to allow write permissions.
https://docs.inductiveautomation.com/display/DOC79/Security+Zones