# \[Bug-13089\]Error\_InvalidPathSyntax in Perspective Binding

**URL:** <https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282>\
**Category:** Ignition Early Access\
**Tags:** ignition80\
**Created:** [July 3, 2019, 8:02pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282 "2019-07-03T20:02:24Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [July 3, 2019, 8:02pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/1 "2019-07-03T20:02:24Z")

</div>

I am trying to define a property binding in Perspective but always get an ‘`Error_InvalidPathSyntax`’ (see screenshot). This happens with all properties on all components i tried. I selected the property path with the ‘Browse Properties’ dialog, but the same happens when i enter the path manually in a Expression.  
I’m sure this is a stupid mistake on my side but i have no idea what i’m doing wrong.

 ![persp-binding](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/62971ca4a2fd5a5f3925a3fd52e4ca0dc95a5583.jpeg)

Ignition Version is 8.0.3 ( b2019070302), but i had the same problem in 8.0.2.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 3, 2019, 8:46pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/2 "2019-07-03T20:46:05Z")

</div>

What if you use a component name that doesn’t have a hyphen in it?

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [July 4, 2019, 8:44am UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/3 "2019-07-04T08:44:02Z")

</div>

You are right, it works if the name doesn’t have a hyphen.  
Is this a bug in the parser or are hyphen not allowed in component names?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 5, 2019, 4:27pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/4 "2019-07-05T16:27:14Z")

</div>

I would not expect hyphens to be allowed. Nor any other math operator. Or anything else that wouldn’t be permitted in a javascript identifier. The designer probably shouldn’t be allowing such keys, at least when created in the UI.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [July 5, 2019, 4:36pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/5 "2019-07-05T16:36:41Z")

</div>

As @pturmel said, we should not allow resource node names to allow mathematical operators, just as we should not allow property keys to allow mathematical operators. We already have an open ticket to address this. Any pending fix will NOT rename your resources; it would be up to you to remove any hyphens/dashes from your resources.

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [July 16, 2019, 4:04pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/6 "2019-07-16T16:04:51Z")

</div>

This issue was fixed in the 8.0.3 Nightly build that was uploaded yesterday (7/15).

---

<div class="post-metadata">

**Author:** ![osolorzano](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/osolorzano/32/6432_2.png) [@osolorzano](https://forum.inductiveautomation.com/u/osolorzano)\
**Post date:** [July 16, 2019, 7:46pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/7 "2019-07-16T19:46:02Z")

</div>

For some additional context, the fix was to _allow_ hyphens to be used in key names. This fix also includes some validation in the property editor that prevent users from entering keys with invalid characters (such as spaces, periods, brackets).

While this doesn’t prevent someone from editing the JSON of the view directly, this fix should help mitigate people entering unsupported characters going forward using the designer UI.

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [July 16, 2019, 8:24pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/8 "2019-07-16T20:24:54Z")

</div>

Thank you for the explanation.

> [@osolorzano](#):
>
> fix was to _allow_ hyphens to be used in key names

Are hyphens now also allowed in component names or in property keys only?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 16, 2019, 8:38pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/9 "2019-07-16T20:38:47Z")

</div>

There’s no functional difference between those two under the hood, so yes, hyphens should be fine anywhere you want to use them.

---

<div class="post-metadata">

**Author:** ![dmorse](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@dmorse](https://forum.inductiveautomation.com/u/dmorse)\
**Post date:** [May 10, 2021, 10:07pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/10 "2021-05-10T22:07:51Z")

</div>

So for those of us stranded in 7.9, if there happens to be a hyphen in a resource name (host name of computer comes to immediate mind) then it’s always going to puke out an invalid component name error? Just checking, thanks.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 11, 2021, 4:23pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/11 "2021-05-11T16:23:20Z")

</div>

I’m not entirely sure why you revived this thread; the error detailed here only applies to Perspective. Vision strictly refuses to allow hyphens in component names, so it’s a moot point.

---

<div class="post-metadata">

**Author:** ![dmorse](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@dmorse](https://forum.inductiveautomation.com/u/dmorse)\
**Post date:** [May 11, 2021, 4:26pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/12 "2021-05-11T16:26:24Z")

</div>

Revived thread because I’m a newb, and didn’t notice the “Perspective” in the title. My apologies for causing ripples in the force. Just trying to solve problems that are hard to track with the error messages as generated. Thanks.

---

<div class="post-metadata">

**Author:** ![Tim.Johnson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim.johnson/32/10597_2.png) [@Tim.Johnson](https://forum.inductiveautomation.com/u/Tim.Johnson)\
**Post date:** [October 26, 2021, 8:39pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/13 "2021-10-26T20:39:58Z")

</div>

I don’t know if this fix got rolled back somewhere along the line, but we’re back to hyphens being not accepted. If I have a hyphen in a component name that my binding references, I still get the ‘Error\_InvalidPathSyntax’ notice.  
Version: **8.1.7 (b2021060314)**

---

<div class="post-metadata">

**Author:** ![Billy\_Elliott](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@Billy\_Elliott](https://forum.inductiveautomation.com/u/Billy_Elliott)\
**Post date:** [November 14, 2022, 8:41pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/14 "2022-11-14T20:41:07Z")

</div>

I agree, just wasted a lot of time to figure out CRAC-1 won't work, but CRAC1 does!

---

<div class="post-metadata">

**Author:** ![Michael\_Crane](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@Michael\_Crane](https://forum.inductiveautomation.com/u/Michael_Crane)\
**Post date:** [November 19, 2025, 4:50pm UTC](https://forum.inductiveautomation.com/t/bug-13089-error-invalidpathsyntax-in-perspective-binding/26282/15 "2025-11-19T16:50:21Z")

</div>

Still happening in 8.1.37
