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

Comma missing in JSON reponse for report exporter

Nandhini Expensify Customer Posts: 3

HI I'm trying to export the report through report exporter API.I want my response to be in JSON.

I use the following template

<#if addHeader>[</#if>

<#list reports as report>


"accountId": "${report.accountID}",

"reportId": "${report.reportID}",

"status": "${report.status}",

"submitDate": "${report.submitted}",

"createdDate": "${report.created}",

"currency": "${report.currency}"

}<#if report?has_next>,</#if>


<#if addFooter>]</#if>

Comma is missing after some json objects.Is there any mistakes in the template?