ThingSpeak internal server error

4 ビュー (過去 30 日間)
Nikolas Spiliopoulos
Nikolas Spiliopoulos 2018 年 9 月 17 日
回答済み: Siddharth Bhutiya 2018 年 9 月 21 日
Hi all,
I am trying to send data to thingspeak server through a channel by using the commands thingSpeakWrite.
However I get an error like this:
"The server returned the message: "Internal Server Error" for URL, 'https://api.thingspeak.com/channels/575425/upload_json/' (with HTTP response code 500)".
can you help me with that?
the code is the following
channelID_re1 = 577227;
writeKey_re1 = '8W0ALLFR811P79BD';
table1=Required_energy(:,1);
tStamps = [datetime('now')-minutes(899/80):minutes(1/80):datetime('now')]';
dataTable = table(tStamps,table1);
where Required energy is a vector [900x1]
thanks a lot

採用された回答

Siddharth Bhutiya
Siddharth Bhutiya 2018 年 9 月 21 日
I think your question was answered in the ThingSpeak Community forum, however for the reference of other users who might be facing a similar issue, I will post the link here
Essentially the issue was due to the fact that ThingSpeak requires that all data in a channel and within an update must have a unique timestamp.

その他の回答 (0 件)

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

Help Center および File ExchangeRead Data from Channel についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by