# TypeError: Cannot read property '0' of undefined

**URL:** <https://discourse.nodered.org/t/typeerror-cannot-read-property-0-of-undefined/18225>\
**Category:** General\
**Created:** [21 November 2019 08:34 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-0-of-undefined/18225 "2019-11-21T08:34:58Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [21 November 2019 16:05 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-property-0-of-undefined/18225/21 "2019-11-21T16:05:01Z")

</div>

What I would do is take the input file and split it in two and run each half thru the flow. then take the half that failed and split it in half. repeat until you have the data that is causing the problem. Then let us see that data.

[Previous page](https://discourse.nodered.org/t/typeerror-cannot-read-property-0-of-undefined/18225.md?page=1)
