Error Code 303 : ERR_BAD_RESPONSE / Unable to parse response | Arduino | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.

Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Error Code 303 : ERR_BAD_RESPONSE / Unable to parse response
No permission to create posts
January 8, 2016
4:01 am
New Member
Forum Posts: 2
Member Since:
January 8, 2016
sp_UserOfflineSmall Offline

Hey everyone,

I'm using the mathwork/thingspeak-arduino library to update a private channel from an Arduino Mega. I'm using a standard ethernet shield.

My project has been running smooth for the past 3 months but today it all went south. Data are updated fine on TS (sensor values), but something is wrong and it looks like reading from TS won't work properly anymore.

So I logged a bit and I found out that whenever I try to write to TS (using setField several times then writeFields, which was running fine so far) I get a 303 error code which as I read in the library means ERR_BAD_RESPONSE / Unable to parse response

I looked through the interwebs, on official doc and on this forum but couldnt find anything related to this error, how to deal with it etc..

Also, reading values from TS will return all zeros.
What is weird is that data are still correctly written to TS so my first naive guess is that this is a TS return message error but can't be sure.

If someone here have any clue of what it means i would be soooo happy.

Thanks a lot

January 8, 2016
2:24 pm
Rob Purser
Natick, MA

Forum Posts: 47
Member Since:
August 22, 2015
sp_UserOfflineSmall Offline

Yes -- there was a latent bug in the library that was exposed when the response message from ThingSpeak changed slightly. I have posted a new version of the library on GitHub. It should appear in the Arduino IDE within the next few hours. If you want it sooner, get the ThingSpeak.h file direct from GitHub.


Senior Development Manager for IoT and Hardware Interfacing for MATLAB at MathWorks.  Visit to explore the IoT Analytic platform that speaks MATLAB made for engineers and scientists.  You can collect, analyze, and act in 5 minutes or less!

January 9, 2016
5:01 pm
New Member
Forum Posts: 2
Member Since:
January 8, 2016
sp_UserOfflineSmall Offline

Hey Rob,
Everything seems back to normal on my side.
Thanks a lot for your fast fix.

January 15, 2016
4:43 pm

Forum Posts: 7
Member Since:
January 12, 2016
sp_UserOfflineSmall Offline

For my own learning, could you post up what line in the header or cpp file had to be changed, and what the change was?

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
36 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:

kusmumichael, petersmith99, Rambant, blakeharriss09, optisol, Niyonzima Fils

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457