# Http request error "reason: Parse Error: Invalid header value char"

**URL:** <https://community.homey.app/t/http-request-error-reason-parse-error-invalid-header-value-char/103800>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [February 12, 2024, 7:59am UTC](https://community.homey.app/t/http-request-error-reason-parse-error-invalid-header-value-char/103800 "2024-02-12T07:59:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirk\_trunsch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirk_trunsch/32/81211_2.png) [@dirk\_trunsch](https://community.homey.app/u/dirk_trunsch)\
**Post date:** [February 12, 2024, 7:59am UTC](https://community.homey.app/t/http-request-error-reason-parse-error-invalid-header-value-char/103800/1 "2024-02-12T07:59:23Z")

</div>

Hi all,

I try to create a post http request in a flow with a logic card but it doesn’t work. Every time I got the message “, reason: Parse Error: Invalid header value char” .  
 ![Screenshot 2024-02-12 085624](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/1/f1ca16ea0f51017497411e8f575bd764662aebb4.jpeg)  
Does anyone have any ideas?

Thanks  
Dirk

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 12, 2024, 9:26am UTC](https://community.homey.app/t/http-request-error-reason-parse-error-invalid-header-value-char/103800/2 "2024-02-12T09:26:28Z")

</div>

Try with the headers empty.

---

<div class="post-metadata">

**Author:** ![dirk\_trunsch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirk_trunsch/32/81211_2.png) [@dirk\_trunsch](https://community.homey.app/u/dirk_trunsch)\
**Post date:** [February 12, 2024, 11:18am UTC](https://community.homey.app/t/http-request-error-reason-parse-error-invalid-header-value-char/103800/3 "2024-02-12T11:18:57Z")

</div>

I did but with the same result and error, additionaly I tried “Content-Type: application/json”.  
When I use use a rest client like YARC I got an answer “`ok`\<D\_C\_5\_1\>1\</D\_C\_5\_1\>”"

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/f/3f15c56e562a961a788ad631dee65782a48d9d55.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 12, 2024, 11:26am UTC](https://community.homey.app/t/http-request-error-reason-parse-error-invalid-header-value-char/103800/4 "2024-02-12T11:26:51Z")

</div>

Can you make a screenshot of the response headers in the YARC client? It’s difficult to say where exactly the error is coming from.

Also, it looks like your custom “content-type” header isn’t actually set in YARC (if it were, I would have expected it to show up in the table where it now says “There are no headers to display”).

---

<div class="post-metadata">

**Author:** ![dirk\_trunsch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirk_trunsch/32/81211_2.png) [@dirk\_trunsch](https://community.homey.app/u/dirk_trunsch)\
**Post date:** [February 12, 2024, 11:28am UTC](https://community.homey.app/t/http-request-error-reason-parse-error-invalid-header-value-char/103800/5 "2024-02-12T11:28:47Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/d/7d7b7b14f6e8510c13ff57c89ff9647f03d1cca5.png)

here with the header ( I think I don’t need it)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/2/02b289230ae8f3b9fbb9f4dc8913dacea286bbe1.png)

I hope it will help.

Thanks

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [February 12, 2024, 11:38am UTC](https://community.homey.app/t/http-request-error-reason-parse-error-invalid-header-value-char/103800/6 "2024-02-12T11:38:38Z")

</div>

All looks okay to be honest, no idea what’s causing your problem ☹
