Closed OscarTheGrinch closed 2 hours ago
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
Hello @OscarTheGrinch :wave: None of the versions of sf
you shared match the latest release.
Shared: 2.65.8
Latest: 2.66.7
Update to the latest version of Salesforce CLI (docs) and confirm that you're still seeing your issue.
You can also try the rc
and nightly
releases! (docs)
After updating, share the full output of sf version --verbose --json
Hey @OscarTheGrinch - we're aware, and already working on the fix!
Hi @WillieRuemmele , thanks for the lightning fast response! (Pun somewhat intended) In that case I'll close this ticket, and watch the PR.
Version information
Goal
I want to insert records using
sf data import bulk
from a CSV file.Issue
We are running Windows. The CSV file uses LF line endings. The CLI does not recognize this, and attempts to upload the file using CRLF endings, which causes a mismatch issue. Rerunning the import command using the
--line-ending LF
flag does not affect the behavior of the CLI, and we receive the same error telling us that it's trying to use CRLF endings during upload, which causes an error.Error message:
Workaround
We are able to work around this issue by changing the line endings in the CSV file to CRLF using a text editor or shell utility.
Expected behaviour
The
--line-ending LF
flag causes the CLI to perform an upload using LF line endings, instead of ignoring it and using CRLF all the time.Additional info
The help info for the command contains a typo:
Presumably 'LR' should be 'LF'.