Print this page

Apex Data Loader Error: Invalid Characters '\' in sdl file

Knowledge Article Number 000199460
Description Receiving an invalid character '\' in the SDL (mapping) file when trying to map fields using Data Loader.
Resolution This can occur if your CSV file's header fields include spaces. As per RFC 4180, spaces are considered part of a field, so when writing out the field names into the mapping file the trailing spaces are treated as delimiters.  As a result backslashes '\' are used as escape characters and can be unexpectedly input into the SDL or mapping file.

To resolve this, remove any spaces from data in your CSV file's header fields and then re-save the SDL file.


Name Type Size
Sample_SDL- Special Character.txt

promote demote