Error 429 for Bulk Update Data using JSON Document: Too Many Requests

3 ビュー (過去 30 日間)
Sakib Mahmud
Sakib Mahmud 2020 年 9 月 12 日
編集済み: Vinod 2020 年 9 月 14 日
Hello,
I have been trying to Bulk Update Data on Thingspeak Cloud Platform through JSON Documents. In Free Version, I was able to post data (posting interval) after every 15s, and data was being collected every second, so 15 timestamps. Now, I have bought the Student Version for an 1 year subscription. I bought only 1 unit since it will suffice my purpose, it should. Now, I am confused due to some issues occured:
  • I want to post bulk data every 1 second in Thingspeak, is it possible with the paid version? Or it is always 15 seconds?
  • Can I make the timestamp/data uploading rate into the JSON Document i.e. 'delta_t' less than 1 second?
I am getting too many requests (HTTP Error Code: 429) error if I try to post and/or upload data faster than the above mentioned limits. Then what is the benefit of the paid version? I want the plot refresh rate to be 1 second but it is still refreshing slower. How can I solve these issues? Expecting fast help from experts.
Regards,
Sakib

回答 (1 件)

Vinod
Vinod 2020 年 9 月 14 日
編集済み: Vinod 2020 年 9 月 14 日
Please refer to the documentation for Bulk Update endpoint, specifically "The number of messages in a single bulk-update is limited to 960 messages for users of free accounts and 14,400 messages for users of paid accounts. The time interval between sequential bulk-update calls should be 15 seconds or more.". You need to send in bulk_updates spaced every 15 seconds or more, and each bulk update can contain less than 14,400 messages.
If you want to send data every second, use the update endpoint. Note that in either case, the timestampe of the data stored on ThingSpeak is currently limited to 1s resolution.
  2 件のコメント
Sakib Mahmud
Sakib Mahmud 2020 年 9 月 14 日
Thanks for the reply @Vinod.
One more question,
What is the minimum plot refresh rate I can go in Thingspeak (paid version)? I am updating bulk data after every 15s. So, the plot will automatically refresh after 15s minimum?
Vinod
Vinod 2020 年 9 月 14 日
If you have a paid license, you can have the plot update up to every 1 second. Click on the pencil icon on the plot and you can set it to update every 1s.

サインインしてコメントする。

コミュニティ

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

カテゴリ

Help Center および File ExchangeREST API についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by