# Unable to import flow - Cannot read properties of undefined (reading 'out')

**URL:** <https://discourse.nodered.org/t/unable-to-import-flow-cannot-read-properties-of-undefined-reading-out/78218>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [6 May 2023 04:37 UTC](https://discourse.nodered.org/t/unable-to-import-flow-cannot-read-properties-of-undefined-reading-out/78218 "2023-05-06T04:37:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dudenell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dudenell/32/79618_2.png) [@dudenell](https://discourse.nodered.org/u/dudenell)\
**Post date:** [6 May 2023 04:37 UTC](https://discourse.nodered.org/t/unable-to-import-flow-cannot-read-properties-of-undefined-reading-out/78218/1 "2023-05-06T04:37:06Z")

</div>

I'm attempting to import flows from this github to look at: [Home-Assistant-Config/node-red at master · maxi1134/Home-Assistant-Config · GitHub](https://github.com/maxi1134/Home-Assistant-Config/tree/master/node-red)

Every time I attempt to import a flow, I'm getting the following undescriptive error message: "Error: TypeError: Cannot read properties of undefined (reading 'out')"

Is there somewhere specific I should look for better debugging?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [6 May 2023 07:50 UTC](https://discourse.nodered.org/t/unable-to-import-flow-cannot-read-properties-of-undefined-reading-out/78218/2 "2023-05-06T07:50:32Z")

</div>

Welcome to the forum @dudenell

Can you give a specific example of a flow you are trying to import please?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [6 May 2023 08:51 UTC](https://discourse.nodered.org/t/unable-to-import-flow-cannot-read-properties-of-undefined-reading-out/78218/3 "2023-05-06T08:51:25Z")

</div>

That is interesting, you are quite right. I see that error too when I import (apparently) any of the flows there. I am not using Home Assistant.

Do you have Home Assistant installed along with the HA node-red plugin? If you do then I suggest you ask on an HA forum (few here use HA), or submit an issue on the github repo. If you don't use HA then those flows are not relevant anyway.

---

<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:** [6 May 2023 08:54 UTC](https://discourse.nodered.org/t/unable-to-import-flow-cannot-read-properties-of-undefined-reading-out/78218/4 "2023-05-06T08:54:59Z")

</div>

> [@dudenell](#):
>
> Is there somewhere specific I should look for better debugging?

Have you checked the browsers JavaScript console for any error messages? A more complete stack trace from there would be helpful to see.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [6 May 2023 09:02 UTC](https://discourse.nodered.org/t/unable-to-import-flow-cannot-read-properties-of-undefined-reading-out/78218/5 "2023-05-06T09:02:26Z")

</div>

I am getting

```auto
TypeError: Cannot read properties of undefined (reading 'out')
    at Object.R [as import] (red.min.js?v=3.0.2:16:74435)
    at Object.Ut [as importNodes] (red.min.js?v=3.0.2:18:259898)
    at E (red.min.js?v=3.0.2:18:552122)
    at HTMLDivElement.click (red.min.js?v=3.0.2:18:533786)
    at HTMLButtonElement.<anonymous> (vendor.js?v=3.0.2:15:4603)
    at HTMLButtonElement.dispatch (vendor.js?v=3.0.2:2:43090)
    at v.handle (vendor.js?v=3.0.2:2:41074)

```

---

<div class="post-metadata">

**Author:** ![dudenell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dudenell/32/79618_2.png) [@dudenell](https://discourse.nodered.org/u/dudenell)\
**Post date:** [9 May 2023 03:31 UTC](https://discourse.nodered.org/t/unable-to-import-flow-cannot-read-properties-of-undefined-reading-out/78218/6 "2023-05-09T03:31:06Z")

</div>

Yes, brand new home assistant install and using the default node red plugin. I can try and submit over there too, I wasn't sure if this was specific to Node Red though?

Edit: Was looking at his kitchen.json file specifically

---

<div class="post-metadata">

**Author:** ![dudenell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dudenell/32/79618_2.png) [@dudenell](https://discourse.nodered.org/u/dudenell)\
**Post date:** [9 May 2023 03:36 UTC](https://discourse.nodered.org/t/unable-to-import-flow-cannot-read-properties-of-undefined-reading-out/78218/7 "2023-05-09T03:36:35Z")

</div>

Same message as Colin:

```auto
TypeError: Cannot read properties of undefined (reading 'out')
    at Object.R [as import] (red.min.js?v=3.0.2:16:74435)
    at Object.Ut [as importNodes] (red.min.js?v=3.0.2:18:259898)
    at E (red.min.js?v=3.0.2:18:552122)
    at HTMLDivElement.click (red.min.js?v=3.0.2:18:533786)
    at HTMLButtonElement.<anonymous> (vendor.js?v=3.0.2:15:4603)
    at HTMLButtonElement.dispatch (vendor.js?v=3.0.2:2:43090)
    at v.handle (vendor.js?v=3.0.2:2:41074)

```

---

<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:** [8 July 2023 03:37 UTC](https://discourse.nodered.org/t/unable-to-import-flow-cannot-read-properties-of-undefined-reading-out/78218/8 "2023-07-08T03:37:02Z")

</div>

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