You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paste into salesforce inspector with Excel format checked
Expected
The preview shows headers and the only line well parsed
Actual
The parsing fails with Error: unexpected token ' '
Cause analysis
Excel format seems to rely on csv-parser.js which checks for " at start of cell content as string identificator. In turn, the content until next " is considered for cell value (pseudo in my repro data), then cell separator is expected. It fails du to finding anything but cell separator ( in my repro data).
This is NOT helpfull for Excel content
Possible workarround
Sanitize cells by adding a space before starting " ( used for now)
Export sheet to CSV (untested)
`
The text was updated successfully, but these errors were encountered:
Hi,
When attempting to upsert (or insert) data from Excel format fails to parse it if some cells start with
"
.Steps to reproduce
Expected
The preview shows headers and the only line well parsed
Actual
The parsing fails with
Error: unexpected token ' '
Cause analysis
Excel format seems to rely on
in my repro data).
csv-parser.js
which checks for"
at start of cell content as string identificator. In turn, the content until next"
is considered for cell value (pseudo
in my repro data), then cell separator is expected. It fails du to finding anything but cell separator (This is NOT helpfull for Excel content
Possible workarround
"
( used for now)`
The text was updated successfully, but these errors were encountered: