# Unable to create folder path, found non-folder in the way at 'ignition/named-query'

**URL:** <https://forum.inductiveautomation.com/t/unable-to-create-folder-path-found-non-folder-in-the-way-at-ignition-named-query/39407>\
**Category:** Ignition\
**Created:** [October 6, 2020, 8:11am UTC](https://forum.inductiveautomation.com/t/unable-to-create-folder-path-found-non-folder-in-the-way-at-ignition-named-query/39407 "2020-10-06T08:11:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iottest07](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/iottest07/32/17393_2.png) [@iottest07](https://forum.inductiveautomation.com/u/iottest07)\
**Post date:** [October 6, 2020, 8:11am UTC](https://forum.inductiveautomation.com/t/unable-to-create-folder-path-found-non-folder-in-the-way-at-ignition-named-query/39407/1 "2020-10-06T08:11:43Z")

</div>

found error when creating named query in designer. can anyone help on this

java.lang.IllegalArgumentException: Unable to create folder path, found non-folder in the way at ‘ignition/named-query’  
at com.inductiveautomation.ignition.designer.project.DesignerProjectTreeImpl.insertFolders(DesignerProjectTreeImpl.java:244)  
at com.inductiveautomation.ignition.designer.project.DesignerProjectTreeImpl.createResourceInternal(DesignerProjectTreeImpl.java:210)  
at com.inductiveautomation.ignition.designer.project.DesignerProjectTreeImpl.createResource(DesignerProjectTreeImpl.java:196)  
at com.inductiveautomation.ignition.designer.project.CreateResourceDialog$CreateAction.actionPerformed(CreateResourceDialog.java:146)  
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)  
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)  
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)  
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)  
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)  
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)  
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)  
at java.desktop/java.awt.Component.processEvent(Unknown Source)  
at java.desktop/java.awt.Container.processEvent(Unknown Source)  
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)  
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)  
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)  
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)  
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)  
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)  
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)  
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)  
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)  
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)  
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)  
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)  
at java.base/java.security.AccessController.doPrivileged(Native Method)  
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)  
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)  
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)  
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)  
at java.base/java.security.AccessController.doPrivileged(Native Method)  
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)  
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)  
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)  
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Ignition v8.0.16 (b2020082513)  
Java: Azul Systems, Inc. 11.0.7

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 6, 2020, 2:56pm UTC](https://forum.inductiveautomation.com/t/unable-to-create-folder-path-found-non-folder-in-the-way-at-ignition-named-query/39407/2 "2020-10-06T14:56:26Z")

</div>

You need to take a look at the tree structure of the files on disk. Go to your gateway, and then the Ignition installation directory.  
Start at `/data/projects/${your project name}/ignition/named-query` - follow the folder structure from there.  
The actual path after the `named-query/` folder should map to the path in your project, ending in a folder with the same name as your actual resource(s); inside that should be at minimum a `resource.json` and a `data.bin` file.

---

<div class="post-metadata">

**Author:** ![iottest07](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/iottest07/32/17393_2.png) [@iottest07](https://forum.inductiveautomation.com/u/iottest07)\
**Post date:** [October 7, 2020, 11:44am UTC](https://forum.inductiveautomation.com/t/unable-to-create-folder-path-found-non-folder-in-the-way-at-ignition-named-query/39407/3 "2020-10-07T11:44:33Z")

</div>

> [@paul-griffith](#):
>
> The actual path after the `named-query/` folder should map to the path in your project, ending in a folde

Dear @paul-griffith,

I was checked file in named-query folder. there are two file in it as mention in reply. but still same error we getting. do needful.

---

<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:** [October 7, 2020, 12:54pm UTC](https://forum.inductiveautomation.com/t/unable-to-create-folder-path-found-non-folder-in-the-way-at-ignition-named-query/39407/4 "2020-10-07T12:54:40Z")

</div>

If your situation is urgent, you should open a support ticket and get them to look over your shoulder.
