# Issue Configuring a Tag with Data from WebDev Post

**URL:** <https://forum.inductiveautomation.com/t/issue-configuring-a-tag-with-data-from-webdev-post/104475>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 31, 2025, 7:00pm UTC](https://forum.inductiveautomation.com/t/issue-configuring-a-tag-with-data-from-webdev-post/104475 "2025-03-31T19:00:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![YF129701](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yf129701/32/60498_2.png) [@YF129701](https://forum.inductiveautomation.com/u/YF129701)\
**Post date:** [March 31, 2025, 9:29pm UTC](https://forum.inductiveautomation.com/t/issue-configuring-a-tag-with-data-from-webdev-post/104475/2 "2025-03-31T21:29:20Z")

</div>

Check this out:

> [@system.util.jsonEncode(system.tag.getConfiguration()) exceeds maximum recursion depth / why can't we export MQTT Tag Configuration?](https://forum.inductiveautomation.com/t/system-util-jsonencode-system-tag-getconfiguration-exceeds-maximum-recursion-depth-why-cant-we-export-mqtt-tag-configuration/59328/2):
>
> This is unexpected but a known issue that we've already got logged. The workaround on the ticket is to cast each of the dictionaries returned in the getConfiguration result to string before passing to system.util.jsonEncode. result = system.tag.getConfiguration(PathToTag) print system.util.jsonEncode(str(result[0])) What are you hoping to achieve in the end? You aren't going to be able to create or modify MQTT tags by importing whatever you manage to export. They are managed by the MQTT modu…

Specifically, this part:

> [@](#):
>
> This is unexpected but a known issue that we've already got logged.
> 
> The workaround on the ticket is to cast each of the dictionaries returned in the `getConfiguration` result to string before passing to `system.util.jsonEncode`.
> 
> ```python
> result = system.tag.getConfiguration(PathToTag)
> print system.util.jsonEncode(str(result[0]))
> 
> ```

You would do this in your `httpPost` response before you send the tag configuration

---

_[View the full topic](https://forum.inductiveautomation.com/t/issue-configuring-a-tag-with-data-from-webdev-post/104475)._
