Closed bobbeims closed 4 months ago
Thanks for providing this script, but I'm getting an error when I invoke it:
rvb@Bob--Kays-Air FinancialData % sudo node mintJsonToCsv.mjs Password: file:///Users/rvb/Downloads/MintDownload/SharedData/FinancialData/mintJsonToCsv.mjs:66 category = category.replace(',', '_'); ^ TypeError: Cannot read properties of undefined (reading 'replace') at file:///Users/rvb/Downloads/MintDownload/SharedData/FinancialData/mintJsonToCsv.mjs:66:29 at ModuleJob.run (node:internal/modules/esm/module_job:222:25) at async ModuleLoader.import (node:internal/modules/esm/loader:316:24) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5) Node.js v20.14.0
Are there permissions issues I need to resolve?
I updated the script and it should no longer error out now. It will fall back to the category ID or an empty string if the category is missing from a transaction.
Thanks for providing this script, but I'm getting an error when I invoke it:
Are there permissions issues I need to resolve?