Firebase Rest API Streaming error: Connection gets closed when child has huge data in it -
i trying stream firebase rest api:
i have around 500mb of data in firebase path, when initiate stream connection it, first wait 2min , end closing connection response pasted below.
request: curl -lv -x -h "accept: text/event-stream" https://{url} -o backup.txt
after trying 5 times, have received these response:
response: data requested exceeds maximum size can accessed single request.
response: { "error" : "internal server error." }
my question not how download data, how add stream listener child in firebase database has huge data in it.
when add listener path mentioned in request, close connection because of previous data present, how achieve this?
the error data requested exceeds maximum size can accessed single request
suggest cannot perform request trying because large.
you need split multiple requests , join them afterwards.
Comments
Post a Comment