# Error Message "NoneType"

**URL:** <https://forum.inductiveautomation.com/t/error-message-nonetype/66505>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [November 15, 2022, 1:35am UTC](https://forum.inductiveautomation.com/t/error-message-nonetype/66505 "2022-11-15T01:35:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anthony\_Buddini](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Anthony\_Buddini](https://forum.inductiveautomation.com/u/Anthony_Buddini)\
**Post date:** [November 15, 2022, 1:35am UTC](https://forum.inductiveautomation.com/t/error-message-nonetype/66505/1 "2022-11-15T01:35:17Z")

</div>

Hi ,

I've tried exporting some data from a report in Ignition Vision into excel using code seen in the attached snapshot. I however end up getting an error whose snapshot is attached as well. Can someone guide me on how to resolve this.  
Thanks..

 ![Report_Excel](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/9/29023696663348abf922922c78d7fa62bfd22b96.png)  
 ![Report_Errormsg.PNG](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/9/295dfdc3b2d96e1e8bfce4f5e82f33e0f0968f8d.jpeg)

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [November 15, 2022, 1:59am UTC](https://forum.inductiveautomation.com/t/error-message-nonetype/66505/2 "2022-11-15T01:59:22Z")

</div>

event.source.parent.getComponent("Report Viewer") isn't there.

Try using this to get the path.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/e/eece270c4c6c0fae1101a0a12bfccdcff866f877.png)

---

<div class="post-metadata">

**Author:** ![Anthony\_Buddini](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Anthony\_Buddini](https://forum.inductiveautomation.com/u/Anthony_Buddini)\
**Post date:** [November 16, 2022, 1:45am UTC](https://forum.inductiveautomation.com/t/error-message-nonetype/66505/3 "2022-11-16T01:45:34Z")

</div>

Thank you @jpark !!!
