Closed MathiasYde closed 3 years ago
You may currently read the large JSON payload from the server which causes the truncated payload and the error in internal JSON parsing process.
The library default payload size limit is 4096 bytes which you can increase it to bigger value.
firebaseData.setResponseSize(8192);
I delete the previous comment due to it is for esp8266 version.
Please also check the valid of the Firebase credentials.
The errors are from your code and database management.
Avoid to get or set the large JSON data as it not suitable in the limited resource device.
I've set the response size of firebaseData to 8192 and still get similar results. Regardless, how do I check the valid of my Firebase credentials?
Host name should valid no slash at the end. Database secret should should not contain any space in side the quotes "".
I've made sure of that and still getting errors
If you change the node path to other node that contains small data e.g. only number or string inside and still get the error, try to create the new database secret.
If you still get the error, the problem may be the account restriction which I don't know.
Try to use other gmail to register the new project.
I'll use something else. Thank you.
Using a WEMOS LOLIN32 on the example basic Arduino sketch results in several different error messages. The microcontroller successfully connects to WiFi.
I've tried the following hosts:
greenleaf-63767.europe-west1.firebaseio.com
greenleaf-63767.firebaseio.com
greenleaf-63767-default-rtdb.europe-west1.firebasedatabase.app
greenleaf-63767.firebase.io
greenleaf-63767-default-rtdb.europe-west1.firebasedatabase.app
greenleaf-63767.europe-west1.firebasedatabase.app
greenleaf-63767.firebasedatabase.app