# "TypeError: Cannot read property 'temp' of undefined"

**URL:** <https://discourse.nodered.org/t/typeerror-cannot-read-property-temp-of-undefined/62115>\
**Category:** General\
**Created:** [3 May 2022 11:02 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-temp-of-undefined/62115 "2022-05-03T11:02:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cloodiaaa](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@Cloodiaaa](https://discourse.nodered.org/u/Cloodiaaa)\
**Post date:** [3 May 2022 11:02 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-temp-of-undefined/62115/1 "2022-05-03T11:02:10Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/a/ca8f036064bf42eb6c24c333f4b736ef309ea5bc.png)

 ![Schermata 2022-05-03 alle 12.36.32](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/9/89ef3fbaddf2e2f97869d4105fe58f366e1e5d8e.png)

please help me!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [3 May 2022 11:09 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-temp-of-undefined/62115/2 "2022-05-03T11:09:49Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/c/acb46d049dbe548f265e2ef38bc7b9bd3b2ba7d5.png)

Add a debug node & look see what is in the debug output.

Is it an object or a string?

#### Lastly, some canned text to help you avoid this kind of mistake...

There’s a great page in the docs ([Working with messages : Node-RED](https://nodered.org/docs/user-guide/messages)) that will explain how to use the debug panel to find the right path to any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

![BX00Cy7yHi](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bd1f333a9e043b061b39917c328b0094d3e52d30.gif)

---

<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:** [2 July 2022 11:10 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-temp-of-undefined/62115/3 "2022-07-02T11:10:47Z")

</div>

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