Send ESP32 data to Firebase #681
-
I am trying to send the data from ESP32 to the Firebase. It keeps showing the error: 'no matching function for call to 'FB_RTDB::setJSON(FirebaseData&, const char*, FirebaseJson&)'' Code:
Error: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 19 replies
-
You should update your Firebase library. |
Beta Was this translation helpful? Give feedback.
-
This library was deprecated. If you preferer to continue to use this library, you can use it, but no help and issue support. I reply to you because it is a simple compilation error issue. |
Beta Was this translation helpful? Give feedback.
-
That's what make me confused. Because I am already using the latest version of the library ('Firebase ESP Client). The version I downloaded is 4.4.14, which already the latest. |
Beta Was this translation helpful? Give feedback.
You cannot set the JSON like that.
You must use FirebaseJson to work with JSON in this library.
Please check this example (even all examples are removed from the repo) for correctly usage.
You should follow the examples for correct usage.