# Horizontal menu Error

**URL:** <https://forum.inductiveautomation.com/t/horizontal-menu-error/56277>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 17, 2022, 7:11pm UTC](https://forum.inductiveautomation.com/t/horizontal-menu-error/56277 "2022-02-17T19:11:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tadeja.saje](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@tadeja.saje](https://forum.inductiveautomation.com/u/tadeja.saje)\
**Post date:** [February 17, 2022, 7:11pm UTC](https://forum.inductiveautomation.com/t/horizontal-menu-error/56277/1 "2022-02-17T19:11:04Z")

</div>

Hello,  
I have Ignition Perspective Platform 8.1.7  
I got Component Error on horizontal menu:

“cannot destructure property “path” of “e” as it is undefined’  
I created menu items with binding input as json.

I can not find outwhat make this error.

Any help?

Best Regards,  
Tadeja

---

<div class="post-metadata">

**Author:** ![DNice](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@DNice](https://forum.inductiveautomation.com/u/DNice)\
**Post date:** [February 21, 2023, 8:22pm UTC](https://forum.inductiveautomation.com/t/horizontal-menu-error/56277/2 "2023-02-21T20:22:28Z")

</div>

I also had this issue. Turned out to be a syntax error - extra comma or something.  
If you copy an existing working item you can paste the "clean" JSON into your script and edit.
