Quantcast
Channel: ThingSpeak IoT Community - All Forums
Viewing all articles
Browse latest Browse all 1833

Eight19_FC on Bulk data upload from electron - example code gives error 500, 1 or 0.

$
0
0

Being able to upload many data points each associated with a timestamp to ThingSpeak at once is essential for my project. I am finding it hard to implement from the electron. As in the title, I'm getting a "Response code" of 1, 0, or 500 published every time the example code tries to send to ThingSpeak and my thingspeak channel is not updated.

I have tried to use a webhook with a JSON as recommended in the Particle website, but even when I have done my best to format the JSON as it is in the bulk transfer documentation, the response is usually an error 400 or 401 (I am definitely using the correct api key).

Advice on how best to implement this feature for an electron, or an explanation of what the confusing response codes mean would be much appreciated.


Viewing all articles
Browse latest Browse all 1833

Trending Articles