Export large amount of data issue as JSON
I am trying to export a large amount of data by using a custom template so that the exported result is a JSON (since I prefer to have nested data instead of a flat csv). Given the big amount of data I got the following error:
"Too many reports to be processed at once, template needs to use the \"addHeader\" statement."
Do you have any idea about what to add if my template is JSON and not a CSV (as per API Documentation examples)?
The only workaround I can see is to call many times the api, but it can break at any moment.
Thanks in advance