# "Error creating resourceNode: %s" every ten seconds

**URL:** <https://forum.inductiveautomation.com/t/error-creating-resourcenode-s-every-ten-seconds/27309>\
**Category:** Ignition Early Access\
**Created:** [August 9, 2019, 1:11pm UTC](https://forum.inductiveautomation.com/t/error-creating-resourcenode-s-every-ten-seconds/27309 "2019-08-09T13:11:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [August 9, 2019, 1:11pm UTC](https://forum.inductiveautomation.com/t/error-creating-resourcenode-s-every-ten-seconds/27309/1 "2019-08-09T13:11:39Z")

</div>

In my log viewer, I have suddenly started getting these ProjectFileTreeErrors: “Error creating resourceNode: %s”. They come up exactly every ten seconds and are just flooding my logs. I have no idea what’s causing this and don’t want to just hide it because it’s an Error and something might legitimately be wrong.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/cd7f4e5046078cc2cd8509b4fe0009323d8c0676.png)

Any ideas as to what could be causing this to happen?

---

<div class="post-metadata">

**Author:** ![Kurt.Larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kurt.larson/32/6426_2.png) [@Kurt.Larson](https://forum.inductiveautomation.com/u/Kurt.Larson)\
**Post date:** [August 9, 2019, 4:05pm UTC](https://forum.inductiveautomation.com/t/error-creating-resourcenode-s-every-ten-seconds/27309/2 "2019-08-09T16:05:19Z")

</div>

We’re tracking this behavior internally, but typically it indicates that an empty `resource.json` file (0 KB) exists for the associated project resource. Do you see any empty resource files within `\data\projects\`?

---

<div class="post-metadata">

**Author:** ![Kurt.Larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kurt.larson/32/6426_2.png) [@Kurt.Larson](https://forum.inductiveautomation.com/u/Kurt.Larson)\
**Post date:** [August 9, 2019, 4:06pm UTC](https://forum.inductiveautomation.com/t/error-creating-resourcenode-s-every-ten-seconds/27309/3 "2019-08-09T16:06:12Z")

</div>

It might be best reaching out to Support so that they can look at your system directly.

---

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [August 9, 2019, 4:20pm UTC](https://forum.inductiveautomation.com/t/error-creating-resourcenode-s-every-ten-seconds/27309/4 "2019-08-09T16:20:18Z")

</div>

Ah okay.

I’ve run into this with views showing up as folders because that `resource.json` file got replaced with all NUL characters. I’ve solved the issue by just copying over a `resource.json` from another view.

I can go through and search for empty files, thanks for pointing me in the right direction!

---

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [August 9, 2019, 5:19pm UTC](https://forum.inductiveautomation.com/t/error-creating-resourcenode-s-every-ten-seconds/27309/5 "2019-08-09T17:19:00Z")

</div>

Yes, can confirm that this was the issue.

One of my Named Queries had a broken `resource.json`.

Thanks again for the help!
