Firebase.failed() #221
Description
Hey everyone,
I seem to be having a unique error that I can't find anyone else facing. When I call Firebase.get("[path]")
on a given path in my database, it returns unsuccessfully. As expected, Firebase.failed()
is true, however, I can't see any output with Serial.println(Firebase.error());
(the error is empty). My database url and api key are correct as I can use them in my NodeJS project. My usage is a follows:
After my ESP12E is connected successfully to WiFi, I run Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
in my setup function.
Then, in my loop, I call FirebaseObject temp = Firebase.get("light-options");
(light-options being a path to an object in my database. Yes, I have also tried this with a single value within the object such as "light-options/red"
.).
This is directly followed by:
if (Firebase.failed()) { Serial.println("Firebase get failed"); Serial.println(Firebase.error()); }
At which point, the console prints the string, but no output for Firebase.error()
.
Also, I have ensured that the network does remain connected throughout this process.
Any thoughts? I'm not sure how to proceed.
Many thanks,
Nelly