# Can't export/import empty tag folder

**URL:** <https://forum.inductiveautomation.com/t/cant-export-import-empty-tag-folder/54989>\
**Category:** Ignition\
**Created:** [January 13, 2022, 5:21pm UTC](https://forum.inductiveautomation.com/t/cant-export-import-empty-tag-folder/54989 "2022-01-13T17:21:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [January 13, 2022, 5:21pm UTC](https://forum.inductiveautomation.com/t/cant-export-import-empty-tag-folder/54989/1 "2022-01-13T17:21:30Z")

</div>

Ignition 8.1.13

Weird use case, but…

1. Create an empty tag folder named ‘PlaceHolder’
2. Export just it to ‘PlaceHolder.json’
3. Delete the tag folder.
4. Import ‘PlaceHolder.json’
5. The original folder ‘PlaceHolder’ is _not_ recreated

-Shane

---

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [January 13, 2022, 6:08pm UTC](https://forum.inductiveautomation.com/t/cant-export-import-empty-tag-folder/54989/2 "2022-01-13T18:08:03Z")

</div>

Actually it looks like it imports the original folder under the UDT tab… which is probably “more wrong”.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 13, 2022, 6:24pm UTC](https://forum.inductiveautomation.com/t/cant-export-import-empty-tag-folder/54989/3 "2022-01-13T18:24:41Z")

</div>

Where was the focus in the tag tree when you began the import?

---

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [January 13, 2022, 7:30pm UTC](https://forum.inductiveautomation.com/t/cant-export-import-empty-tag-folder/54989/4 "2022-01-13T19:30:54Z")

</div>

‘Tags’ tab active, right click top left area of of ‘Tag’ column.

---

<div class="post-metadata">

**Author:** ![A\_Power](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@A\_Power](https://forum.inductiveautomation.com/u/A_Power)\
**Post date:** [May 4, 2022, 9:58pm UTC](https://forum.inductiveautomation.com/t/cant-export-import-empty-tag-folder/54989/5 "2022-05-04T21:58:02Z")

</div>

Hi Just wanted to jump on this.

I have been playing with some proof of concept Tag structures In ignition and have come across the same issue. All folders are empty, and it was set up in ignition designer with great success.

My structure looks a bit like this  
 ![Empty Folder Structure](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/5/75b44551b8a8caba92536844d4081ec5c2df1e23.png)

Now I wanted to expand it significantly and am lazy, so I.

1. Exported the **Site folder** to a Json
2. I then made a copy of that for editing -
3. Tried to import edited document- no success
4. Tried to import the original document (I deleted the original from ignition)- no success
5. Wondered if it was a root level issue so instead tried to export just the **Area** folder, and renamed to **AREA 2** - no success
6. Ended up on this forum

The issue I am having returns the following error  
 ![error message](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/a/3a9ce686c11695f8c002a5fcad613421bf38b775.png)

To be clear **there are no UDT’s in play - not even a tag involved - this is just empty folders**  
As per previous post - I also get a new UDT which matches my tag structure …say what!  
please note the UDT is only created when I have focus nowhere on the tag browser- then use the top right drop down import to root Function, else nothing happens at all (except the error)

EDIT: you can copy said UDT folder structure out of the UDT area into the tag browser, so if you are manipulating folders only this may get you out of dodge.

I have tired having the focus in the tag browser

1. On the root folder
2. On a sub folder
3. On a sub sub folder
4. Nowhere on the tag browser- then use the top right drop down import to root Function.

Luckily for me this is proof of concept - but it is a problem will hurt when I finalize the directory and want to back it up. I am also wondering what happens to any pre made empty folders on a full (working) tag tree backup.

If I have one empty folder nested somewhere on an entire project… what happens if I try to import it? 🤨

Any help or advice would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 5, 2022, 1:54am UTC](https://forum.inductiveautomation.com/t/cant-export-import-empty-tag-folder/54989/6 "2022-05-05T01:54:37Z")

</div>

I reckon there's already a bug reported for this - I've seen this before as well where empty folders simply aren't imported/created including when pasting JSON.

Found it:

> [@\[IGN-2678\] Tag import error when importing empty folder: Exception: Error importing tags: Udt definitions can only be imported in the UDT Definitions tab](https://forum.inductiveautomation.com/t/ign-2678-tag-import-error-when-importing-empty-folder-exception-error-importing-tags-udt-definitions-can-only-be-imported-in-the-udt-definitions-tab/55426):
>
> v8.1.5 I’m trying to copy tags from one gateway to another by export/import tags, but for some reason I’m getting this error when trying to import standard (non-UDT type) tags… There isn’t even a "tagType": "UdtType" in the tag json so I have no idea why I would be getting this error? For giggles, I tried importing them into the UDT Definitions and get the same error rofl
