I need to export all the data from a node in Firebase database, however it seems that the file is too large to get downloaded through the "Export" option in the firebase console. Therefore, I've tried to download the json file by using the firebase REST api through Curl by making this call:
curl --globoff -k -o dr.json "https://mydatabase.firebaseio.com/data.json?format=export"
This command was able to perform downloads for a certain range of file size (0 - 275Mb) . Unfortunately not for the main file that I want to download and that is approximately 450 MB. I got this error when trying to download it.
{ "error" : "Payload is too large"}
I've also tried to get the file by splitting it up and setting a download limit , but it still gives me the same error of "Payload is too large"
curl --range 0-55555555 --globoff -k -o dr.json "https://mydatabase.firebaseio.com/data.json?format=export"
Any help would be really appreciated.
Thanks

Error: HTTP Error: 413, Payload is too largeI've tracked down the error on the HTTP Status and Error Codes for JSON (cloud.google.com/storage/docs/json_api/v1/… ) , and it suggests that I use the "Rewrite Method" instead - Soulemane Diaoune