node-csvtojson icon indicating copy to clipboard operation
node-csvtojson copied to clipboard

CSV Parse Error: Error: unclosed_quote.

Open webdevlamp opened this issue 5 years ago • 1 comments

While trying to handle large CSV file I face "CSV Parse Error: Error: unclosed_quote." error after certain records being processed successfully. Is there a solution already available with this package or is there a workaround to handle this error? or is there a way to skip such CSV rows having any sort of errors not only this one, to let the entire CSV to JSON parsing work without the processing getting stuck?

webdevlamp avatar Apr 01 '20 12:04 webdevlamp

I also get this error intermittently with 100,000+ row csv files. It will return the 'unclosed_quote' error randomly. Then I re-run the script on the same file it just errored on and it finishes parsing successfully. I would love if anyone can recommend or has any idea why something like this is happening where it's erroring sometimes and other times not with the same CSV file.

Thanks!

jvore avatar Mar 31 '23 21:03 jvore