I am trying to stream from firebase REST API:
I have around 500MB of data in firebase to a path, when i initiate a stream connection to it, it first wait for 2min and then end up closing connection with response pasted below.
Request: curl -Lv -X GET -H "Accept: text/event-stream" https://{URL} -o backup.txt
After trying 5 times, i have received all these response:
Response: Data requested exceeds the maximum size that can be accessed with a single request.
Response: {
"error" : "Internal server error."
}
My question is not about how to download all data, it is much about how to add stream Listener to a child in firebase database which has huge data in it.
When i add a listener to a path as mentioned in request, it close the connection because of all previous data present, How to achieve this?