# Getting Error: "Parse Error: Expected HTTP" - "HPE\_INVALID\_CONSTANT"

**URL:** <https://discourse.nodered.org/t/getting-error-parse-error-expected-http-hpe-invalid-constant/45868>\
**Category:** General\
**Created:** [18 May 2021 16:15 UTC](https://discourse.nodered.org/t/getting-error-parse-error-expected-http-hpe-invalid-constant/45868 "2021-05-18T16:15:16Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [20 May 2021 09:17 UTC](https://discourse.nodered.org/t/getting-error-parse-error-expected-http-hpe-invalid-constant/45868/20 "2021-05-20T09:17:40Z")

</div>

did you explore other options?

> [@Steve-Mcl](#):
>
> Also, have you looked to see if this relay has an updated firmware or if it has a forum, raise an issue?

> [@Steve-Mcl](#):
>
> Lastly, does this relay have any other protocols that http API?

If all else fails, you could do this using the TCP nodes.

adapt [this](https://discourse.nodered.org/t/basic-fetch-error/22416/26) solution from Nick to do it raw.

---

_[View the full topic](https://discourse.nodered.org/t/getting-error-parse-error-expected-http-hpe-invalid-constant/45868)._
