Error -301: ESP32 Adafruit Feather suddenly cannot write data | ESP Wi-Fi | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | 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 -301: ESP32 Adafruit Feather suddenly cannot write data
No permission to create posts
July 10, 2019
4:47 pm
Avatar
mennamorato
New Member
Members
Forum Posts: 2
Member Since:
July 5, 2019
sp_UserOfflineSmall Offline

My Arduino based ESP32 has been working for weeks, posting data every 1 minute to Thingspeak.

Get up this morning and no posts for several hours. Yet I can use POSTMAN to post with my write api_key.

I just get the -301 error when trying to write.

I did update my Arduino Thingspeak library to 1.50 but then uninstalled and installed 1.43, same thing.
Any ideas how to debug this? like i said it was working for weeks then just stopped working.

// set the fields with the values
ThingSpeak.setField(1, t);
ThingSpeak.setField(2, h);
ThingSpeak.setField(3, v);
ThingSpeak.setField(4, loopTime);

// write to the ThingSpeak channel
int x = ThingSpeak.writeFields(myChannelNumber, myWriteAPIKey);
if(x == 200){
Serial.println("Channel update successful.");
}
else{
Serial.println("Problem updating channel. HTTP error code " + String(x));
}

July 12, 2019
1:37 am
Avatar
mennamorato
New Member
Members
Forum Posts: 2
Member Since:
July 5, 2019
sp_UserOfflineSmall Offline

Ok.. problem is not Thingspeak, it was my wifi router. not sure what its doing but its definitely failing from time to time.
bummer..don't buy an ASUS Blue Cave, only lasted 1 year.

Forum Timezone: America/New_York

Most Users Ever Online: 166

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

Hema, askask, Rakwireless, budiardi basuki, oliver009, shelby1234

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457