# Problem reading temperature from ngenic via HTTP GET

**URL:** <https://community.homey.app/t/problem-reading-temperature-from-ngenic-via-http-get/69255>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro\
**Created:** [September 21, 2022, 8:21pm UTC](https://community.homey.app/t/problem-reading-temperature-from-ngenic-via-http-get/69255 "2022-09-21T20:21:19Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![mow87](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mow87/32/34093_2.png) [@mow87](https://community.homey.app/u/mow87)\
**Post date:** [October 25, 2023, 7:46am UTC](https://community.homey.app/t/problem-reading-temperature-from-ngenic-via-http-get/69255/21 "2023-10-25T07:46:38Z")

</div>

Hi its not working for me, se below pictures.

First when i add the condition to check the value is 200 it give me false.

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

If i skipp the AND card and go stright to analyse i get “Unexpected end of JSON input”  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/03d6b10771dc904e1fbb43f7c2895e90434294df.png)

When i compare your pictures with mine its identical! Can someone help me out?

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:** [October 25, 2023, 8:08am UTC](https://community.homey.app/t/problem-reading-temperature-from-ngenic-via-http-get/69255/22 "2023-10-25T08:08:13Z")

</div>

> [@mow87](#):
>
> If i skipp the AND card

It’s there for a reason, namely to check if the server turns an “okay” response, which apparently it doesn’t. We don’t know why. Log the status code to a notification, perhaps it provides a clue.

---

<div class="post-metadata">

**Author:** ![mow87](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mow87/32/34093_2.png) [@mow87](https://community.homey.app/u/mow87)\
**Post date:** [October 25, 2023, 9:00am UTC](https://community.homey.app/t/problem-reading-temperature-from-ngenic-via-http-get/69255/23 "2023-10-25T09:00:27Z")

</div>

The status code i get is 401

---

<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:** [October 25, 2023, 9:14am UTC](https://community.homey.app/t/problem-reading-temperature-from-ngenic-via-http-get/69255/24 "2023-10-25T09:14:13Z")

</div>

That’s an authorization error, so probably something to do with the token you’re passing.

---

<div class="post-metadata">

**Author:** ![mow87](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mow87/32/34093_2.png) [@mow87](https://community.homey.app/u/mow87)\
**Post date:** [October 25, 2023, 9:21am UTC](https://community.homey.app/t/problem-reading-temperature-from-ngenic-via-http-get/69255/25 "2023-10-25T09:21:50Z")

</div>

Thanks!

It’s finaly working, not sure what was wrong but i created a new token and now it seems to work!

[Previous page](https://community.homey.app/t/problem-reading-temperature-from-ngenic-via-http-get/69255.md?page=1)
