# I am not able to upload data to Thingspeak

**URL:** <https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633>\
**Category:** Dashboard\
**Created:** [7 July 2020 02:12 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633 "2020-07-07T02:12:07Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![pleasesolvemyproblem](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@pleasesolvemyproblem](https://discourse.nodered.org/u/pleasesolvemyproblem)\
**Post date:** [7 July 2020 02:12 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/1 "2020-07-07T02:12:07Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/2/8254be96b800e9f91fa6792aae8609ee4993d876.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/2/f21e70cd5c485f28aa302b252e358b6feef88ae2.png)  
When i requested for data from Thingspeak using http, there was this error. Hence, i started everything again and upload data to Thingspeak to see what is the issue. i am not able to upload to thingspeak. Can anyone help me out?

---

<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:** [7 July 2020 05:24 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/2 "2020-07-07T05:24:54Z")

</div>

Do you have a dns server configured on the device you are running node-red on ?

---

<div class="post-metadata">

**Author:** ![pleasesolvemyproblem](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@pleasesolvemyproblem](https://discourse.nodered.org/u/pleasesolvemyproblem)\
**Post date:** [7 July 2020 06:48 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/3 "2020-07-07T06:48:49Z")

</div>

how does configuring dns server on the device i am using solve the problem?

---

<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:** [7 July 2020 07:04 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/4 "2020-07-07T07:04:09Z")

</div>

You need to have a dns server configured else it does not know where to go.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [7 July 2020 07:23 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/5 "2020-07-07T07:23:51Z")

</div>

You mean it must have a DNS entry, (not running a server). Usually on a pi this is automatically set in /etc/reso!v.conf. . if you can't ping [api.thingspeak.com](http://api.thingspeak.com) try setting it to 1.1.1.1 (the public cloudflare DNS server)

---

<div class="post-metadata">

**Author:** ![pleasesolvemyproblem](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@pleasesolvemyproblem](https://discourse.nodered.org/u/pleasesolvemyproblem)\
**Post date:** [7 July 2020 08:42 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/6 "2020-07-07T08:42:17Z")

</div>

do i ping [api.thingspeak.com](http://api.thingspeak.com) from the raspberry pi terminal?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [7 July 2020 08:46 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/7 "2020-07-07T08:46:18Z")

</div>

if that is the machine that needs to talk to thingspeak yes...

---

<div class="post-metadata">

**Author:** ![pleasesolvemyproblem](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@pleasesolvemyproblem](https://discourse.nodered.org/u/pleasesolvemyproblem)\
**Post date:** [7 July 2020 08:53 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/8 "2020-07-07T08:53:10Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/5/f5b52b3cc9c17381800b7c511d2e3a69d4cd2ffe.png)  
so if im not able to ping to thingspeak, i need to have a DNS server like setting the DNS server of my raspberry pi to 1.1.1.1?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [7 July 2020 09:26 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/9 "2020-07-07T09:26:44Z")

</div>

As I suggested - try editing the /etc/resolv.conf file to point at 1.1.1.1  
and retry ping.  
If not then yes you need to work out why your device is not connecting to the internet correctly.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [7 July 2020 10:21 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/10 "2020-07-07T10:21:02Z")

</div>

Can you ping 8.8.8.8? If not then you have no internet connection, or it is blocking some addresses.  
If you can then can you ping [google.com](http://google.com)?  
If not then you have a DNS problem of some sort (or google is being blocked).

---

<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:** [7 July 2020 10:23 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/11 "2020-07-07T10:23:33Z")

</div>

I cannot ping [api.thingspeak.com](http://api.thingspeak.com) either. (nor [thingspeak.com](http://thingspeak.com)), nslookup does return ip.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [7 July 2020 10:25 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/12 "2020-07-07T10:25:17Z")

</div>

so I guess their server is down... or maybe they block ping.

---

<div class="post-metadata">

**Author:** ![pleasesolvemyproblem](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@pleasesolvemyproblem](https://discourse.nodered.org/u/pleasesolvemyproblem)\
**Post date:** [12 July 2020 12:58 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/13 "2020-07-12T12:58:07Z")

</div>

i think that that is the problem. As i had slow internet, probably that is why there is an error message. Thanks for suggesting to configure the DNS server and other response!

---

<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:** [26 July 2020 12:58 UTC](https://discourse.nodered.org/t/i-am-not-able-to-upload-data-to-thingspeak/29633/14 "2020-07-26T12:58:11Z")

</div>

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