5:36 pm

December 27, 2018

My code:
[data, time] = thingSpeakRead(channelID,'Fields',[1],'NumPoints',3);
thingSpeakWrite(channelID1, data,'Fields',[3],'TimeStamp',time, 'WriteKey', writeAPIKey);
URL is incorrectly formed, or the requested feature is not supported in this version of ThingSpeak.
How to rewrite time? What am I doing wrong?
9:52 am


Moderators
March 7, 2017

The message comes because you are attempting to write multiple data with similar timestamps to the same channel. ThingSpeak requires unique timestamps within a channel. We are aware of this poorly phrased error message and are working to improve it.
You can either add time to the timestamps you are writing, or delete the existing data before writing new timestamps.
In the command you wrote above, you need to supply time stamps because you are writing multiple points at once.
If you write only one point at a time, you do not need to supply timestamps at all and ThingSpeak will assign the system time at the time of writing.
If you split the write into three operations, be sure to add some time in between writes to make sure not to violate the update frequency (15 s for free, 1 s for paid licenses.)
Most Users Ever Online: 166
Currently Online:
22 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
estebanmateo93, mikewrite, onlinebusiness, winzy99, Zark_zeugan, StefanWiModerators: cstapels: 460
Administrators: Hans: 405, lee: 457