# Web.API Insights getLogEntries issue

**URL:** <https://community.homey.app/t/web-api-insights-getlogentries-issue/34706>\
**Category:** Developers\
**Created:** [September 15, 2020, 10:55am UTC](https://community.homey.app/t/web-api-insights-getlogentries-issue/34706 "2020-09-15T10:55:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dave1/32/22564_2.png) [@Dave1](https://community.homey.app/u/Dave1)\
**Post date:** [September 15, 2020, 10:55am UTC](https://community.homey.app/t/web-api-insights-getlogentries-issue/34706/1 "2020-09-15T10:55:25Z")

</div>

I’m trying to create a simple webpage to display the temperature of various sensors and a graph for the past 24 hours using the Web API and javascript.  
I got the sensors to show their current temperature. But now I’m trying to get the log entries from Insights, but that doesn’t work.  
First I get the different logs using homey.insights.getLogs() from those logs I store the id (‘measure\_temperatur’) en the uri of the logs that i want (a guid) from the entries.  
Then I fire a request to homey.insights.getLogEntries(uri,id,‘last24Hours’) but the code never returns to my ‘then’ part.

Am I doing something wrong? or does anyone have a working example?
