tobcalc
tobcalc copied to clipboard
JSON.parse issue
When uploading an IBKR file, I get the following parse error: JSON.parse: unexpected character at line 1 column 1 of the JSON data without any further information. The file gets read, I go through the duplicates/merge steps, and then it just returns to the page with the above error.
This is what my csv data looks like:
"CurrencyPrimary","ISIN","TradeDate","Amount"
"USD","US00827B1061","20250829","15"
"USD","US00827B1061","20250829","0"
"USD","US0231351067","20250923","1000"
"USD","US0231351067","20250923","-483"
"USD","US0231351067","20250923","-322"
"USD","US11135F1012","20250903","220"
"USD","US11135F1012","20250905","-3360"
...
"USD","US88160R1014","20250910","100"
"USD","US91680M1071","20250926","182"
"USD","US91680M1071","20250926","-65"
"USD","US91680M1071","20250926","-65"
Thanks for the report, I'm gonna have a look at this this weekend.