Utilities.parseCsv() 'Could not parse text' (Google Apps Script)

后端 未结 3 2056
情书的邮戳
情书的邮戳 2021-01-07 03:32

I\'m really confused because this was working earlier and I don\'t know why it is broken now. I\'ve got CSV files that I\'m trying to parse. I\'m accessing them using the fo

3条回答
  •  抹茶落季
    2021-01-07 03:39

    For what it's worth, I just had a similar problem crop up, and after trying to find an errant comma, ended up with a simpler solution. Line 18,000-something (out of 20,000+) in the csv somehow had an extra line break (\n) in it. Eliminating the line break solved the problem.

提交回复
热议问题