# Error: \<svg\> attribute viewBox: Unexpected end of attribute. Expected number, ""

**URL:** <https://forum.inductiveautomation.com/t/error-svg-attribute-viewbox-unexpected-end-of-attribute-expected-number/47363>\
**Category:** Ignition\
**Created:** [June 2, 2021, 5:46pm UTC](https://forum.inductiveautomation.com/t/error-svg-attribute-viewbox-unexpected-end-of-attribute-expected-number/47363 "2021-06-02T17:46:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ToMakPo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tomakpo/32/23875_2.png) [@ToMakPo](https://forum.inductiveautomation.com/u/ToMakPo)\
**Post date:** [June 2, 2021, 5:46pm UTC](https://forum.inductiveautomation.com/t/error-svg-attribute-viewbox-unexpected-end-of-attribute-expected-number/47363/1 "2021-06-02T17:46:40Z")

</div>

I’m getting the above error and I don’t know why. I’m pretty sure it’s coming from my custom gauge component, but I can’t tell why it would be throwing an error.

[gaugeCard.zip](https://forum.inductiveautomation.com/uploads/short-url/laooG4f2Hyq9D045eiorrJzTLr5.zip) (11.4 KB)

---

<div class="post-metadata">

**Author:** ![mcgheeiv](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@mcgheeiv](https://forum.inductiveautomation.com/u/mcgheeiv)\
**Post date:** [July 28, 2021, 8:53pm UTC](https://forum.inductiveautomation.com/t/error-svg-attribute-viewbox-unexpected-end-of-attribute-expected-number/47363/2 "2021-07-28T20:53:48Z")

</div>

Any word on this? Did you find a solution? I am getting the same error.

---

<div class="post-metadata">

**Author:** ![ToMakPo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tomakpo/32/23875_2.png) [@ToMakPo](https://forum.inductiveautomation.com/u/ToMakPo)\
**Post date:** [July 29, 2021, 3:52am UTC](https://forum.inductiveautomation.com/t/error-svg-attribute-viewbox-unexpected-end-of-attribute-expected-number/47363/3 "2021-07-29T03:52:58Z")

</div>

I’m sorry. I really don’t remember.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [July 29, 2021, 6:41am UTC](https://forum.inductiveautomation.com/t/error-svg-attribute-viewbox-unexpected-end-of-attribute-expected-number/47363/4 "2021-07-29T06:41:50Z")

</div>

looks like a typo error can you show me the code you got on the line with ‘viewbox’
