Are you receiving SNAP/EBT benefits? The Expensify.org/SNAP-VAX campaign is live and accepting new members. Learn more about receiving $50 for submitting a SNAP receipt and $50 for getting your COVID-19 vaccine here and join today!

Export large amount of data issue as JSON

gg1234
gg1234 Expensify Customer Posts: 12 Expensify Newcomer

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

Comments