Hi all,
I am trying to import a csv file which is a call report supplied by our telephone system.
Previous (other types of reports) csv’s imported fine (with a bit of conditional logic) but this one is not importing with the error -
parseCSV: colomns do not match. keys: 12, values: 1 at line 3
Checking the csv it is correct, on line 3 (and 4) there is only one column. All the other rows have the correct number of columns (the last row in the below example is the header row):
,,Call Report,,,,,,,,,
Type: Call Reports,,,,,,,,,,,
All Calls: From 6/8/2023 12:00:00 AM To 6/8/2023 11:59:59 PM
Caller ID: Any number
Destination: Any number,,,,,,,,,,,
Call Time,Caller ID,,Destination,Status,Ringing,Talking,Totals,Cost,Reason,Play,
I don’t want the first 6 rows since it is all extra information I don’t need.
I have checked all the exports of this type and they all have this issue.
I have also raised this odd formatting with our telephone system supplier but I don’t expect any changes to happen quickly.
Since parsing the csv gives an error, is there a way in Wappler to remove those lines before the “Import csv File” step or to force Wappler to ignore the rows or column count?
Thanks,
Paul.