Closed Eashubh128 closed 4 months ago
In your code you should verify your code line by line.
Just to point me in the right direction it is coming just cuz of the firebase part right where i am creating a document ? Also now i have updated to the latest arduino version
You have to debug your code yourself.
You are putting an unsupported variable or object into the function.
You have to read the documentation on the placeholder class and follow the examples.
Avoid string concatenation as the input for the function.
Hey thanks , I found the error out Values::StringValue lastUpd(dateTime.c_str()); and I was adding it to the doc like this doc.add("lstUpd", Values::Value(dateTime)); instead of doc.add("lstUpd", Values::Value(lastUpd));
You have to debug your code yourself.
You are putting an unsupported variable or object into the function.
You have to read the documentation on the placeholder class and follow the examples.
Avoid string concatenation as the input for the function.
Thanks man , will take care of this from now on !!
I was trying to compile then this error pops up , I cannot identify where in my code does this happen.
In file included from /Users/eashubhthapliyal/Documents/Arduino/libraries/FirebaseClient/src/./firestore/DataOptions.h:34, from /Users/eashubhthapliyal/Documents/Arduino/libraries/FirebaseClient/src/firestore/Databases.h:29, from /Users/eashubhthapliyal/Documents/Arduino/libraries/FirebaseClient/src/FirebaseClient.h:43, from /Users/eashubhthapliyal/Documents/Arduino/mouthwash_v5_1Apr/mouthwash_v5_1Apr.ino:18: /Users/eashubhthapliyal/Documents/Arduino/libraries/FirebaseClient/src/./firestore/Values.h: In instantiation of 'Values::Value::Value(T) [with T = String]': /Users/eashubhthapliyal/Documents/Arduino/mouthwash_v5_1Apr/mouthwash_v5_1Apr.ino:436:43: required from here /Users/eashubhthapliyal/Documents/Arduino/libraries/FirebaseClient/src/./firestore/Values.h:476:38: error: 'class String' has no member named 'val' Value(T value) { buf = value.val(); }