# Can't find function node (z=0)

**URL:** https://discourse.nodered.org/t/cant-find-function-node-z-0/22248
**Category:** General
**Created:** [25 February 2020 16:41 UTC](https://discourse.nodered.org/t/cant-find-function-node-z-0/22248 "2020-02-25T16:41:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![RobP](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@RobP](https://discourse.nodered.org/u/RobP)
#### Post date: [25 February 2020 16:41 UTC](https://discourse.nodered.org/t/cant-find-function-node-z-0/22248/1 "2020-02-25T16:41:11Z")

</div>

Weird problem. I am searching for nodes with a specific string, and the search results show a function node with no tab name or subflow name. When I check the flows.json it shows as "z": 0. If I click the node from the search results, I am not taken to that node. I'm believing that the node doesn't exist, but it is in the flows.json. I just don't know where it is in the Node Red Editor.

Anyone else come across this problem? Thanks in advance.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [25 February 2020 17:00 UTC](https://discourse.nodered.org/t/cant-find-function-node-z-0/22248/2 "2020-02-25T17:00:32Z")

</div>

There is some rare edge case that causes nodes to get their z property set to 0 - I've never managed to track it down.

The fix is hand edit your flow file and pick the id of one of your 'tab' nodes and stick that into the z property. Then restart Node-RED and the Function node will now be visible on that tab.

We have an item on the backlog to handle this better in the editor - so if we can't track down what causes it, we can at least help recover it.

---

<div class="post-metadata">

### Author: ![RobP](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@RobP](https://discourse.nodered.org/u/RobP)
#### Post date: [25 February 2020 20:52 UTC](https://discourse.nodered.org/t/cant-find-function-node-z-0/22248/3 "2020-02-25T20:52:02Z")

</div>

Thanks for the reply. I was hoping that was not the answer, but there it is 🙂

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [10 March 2020 20:52 UTC](https://discourse.nodered.org/t/cant-find-function-node-z-0/22248/4 "2020-03-10T20:52:02Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
