# System.tag.configure in script results in 'Bad\_AccessDenied'

**URL:** <https://forum.inductiveautomation.com/t/system-tag-configure-in-script-results-in-bad-accessdenied/53908>\
**Category:** Ignition\
**Tags:** ignition80, scripting\
**Created:** [December 8, 2021, 9:45pm UTC](https://forum.inductiveautomation.com/t/system-tag-configure-in-script-results-in-bad-accessdenied/53908 "2021-12-08T21:45:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JLCTME](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@JLCTME](https://forum.inductiveautomation.com/u/JLCTME)\
**Post date:** [December 8, 2021, 9:45pm UTC](https://forum.inductiveautomation.com/t/system-tag-configure-in-script-results-in-bad-accessdenied/53908/1 "2021-12-08T21:45:40Z")

</div>

Ignition 8.0.12

I’m trying to script changes to several tags by copying the configuration of one tag to all the others.

When I use the old `system.tag.editTag` command/syntax, it works, but it won’t accept several of the attributes I want to set, _e.g._, HistoricalDeadband, HistoryMaxAge).

When I use `system.tag.configure` in the following manner:

```auto
orig = '[Source]foobar_path'
configs = system.tag.getConfiguration(orig, True)
results = system.tag.browse(path = '[Source]foo_path', filter = {'tagType':'folder'})
for result in results.getResults():
	name = result['name']
	parentPath = '[Source]foo_path/'+ name + '/bar_path'
 	system.tag.configure(parentPath, configs, "o")

```

I get `[Bad_AccessDenied]`.

What am I doing wrong?
