I’m trying change the history configuration in an UDT in MQTT Engine, I’m using a script, but I have this error: [Bad_AccessDenied(“Insufficient Tag Provider Edit Permissions”)]. I don’t understand why, because I can change the configuration manually.
It looks like you have an issue with your script. I get the same message when I include the tag name as part of the tagPath (line 16). Can you try it without the tag name included there?
The id changes in database if you change the Sample Mode, this is the reason that I didn’t view the data in the table. The data is in the database with other id. It’s working.