# ‘Request time out’ when insert data to influxdb

**URL:** https://discourse.nodered.org/t/request-time-out-when-insert-data-to-influxdb/62410
**Category:** General
**Created:** [9 May 2022 15:15 UTC](https://discourse.nodered.org/t/request-time-out-when-insert-data-to-influxdb/62410 "2022-05-09T15:15:30Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![rolandoartha](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rolandoartha/32/60834_2.png) [@rolandoartha](https://discourse.nodered.org/u/rolandoartha)
#### Post date: [9 May 2022 15:15 UTC](https://discourse.nodered.org/t/request-time-out-when-insert-data-to-influxdb/62410/1 "2022-05-09T15:15:30Z")

</div>

Hello guys  
i'm trying to insert my data from sensor to influxdb, i parse the data using function like this  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/a/8a725d523c941c4992ed03cfa65f52f773c2ba29.png)

but i always get this error  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/f/8f890f0ee0d4aa80910c429035b8a79b163fe905.png)

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [9 May 2022 15:56 UTC](https://discourse.nodered.org/t/request-time-out-when-insert-data-to-influxdb/62410/2 "2022-05-09T15:56:59Z")

</div>

Could you explain how you came to this way of sending a message ?

---

<div class="post-metadata">

### Author: ![rolandoartha](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rolandoartha/32/60834_2.png) [@rolandoartha](https://discourse.nodered.org/u/rolandoartha)
#### Post date: [9 May 2022 16:01 UTC](https://discourse.nodered.org/t/request-time-out-when-insert-data-to-influxdb/62410/3 "2022-05-09T16:01:07Z")

</div>

i take the data from my sensor and send it by mqtt broker, now i want to save this data to influxdb

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [9 May 2022 16:01 UTC](https://discourse.nodered.org/t/request-time-out-when-insert-data-to-influxdb/62410/4 "2022-05-09T16:01:35Z")

</div>

Yes understood. How did you come up with the code in the function node ?

---

<div class="post-metadata">

### Author: ![rolandoartha](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rolandoartha/32/60834_2.png) [@rolandoartha](https://discourse.nodered.org/u/rolandoartha)
#### Post date: [9 May 2022 16:03 UTC](https://discourse.nodered.org/t/request-time-out-when-insert-data-to-influxdb/62410/5 "2022-05-09T16:03:43Z")

</div>

I saw code like that on the internet, or do i need to change the code?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [8 July 2022 16:03 UTC](https://discourse.nodered.org/t/request-time-out-when-insert-data-to-influxdb/62410/6 "2022-07-08T16:03:55Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
