I exported an Account from one sandbox with the intention of inserting it into another (i.e. I am copying data between orgs). This is a simple CSV file with two lines: the first has the field names (header row), the second is the data for the Account.

When data loader attempts to load it, the record errors out because Name is missing. However, it is there in the fourth field, plain as day. When I select the CSV file, data loader shows the fields and Name is there.




"","false","","Test Data",...

How do I resolve this error? Is it procedural on my part? Bug in data loader? Is there a better way of copying data between orgs?

  • it sounds like an issue with the csv file, have you verified that is properly formatted, perhaps using notepad++?
    – PepeFloyd
    Commented Mar 12, 2014 at 22:01
  • I did open it in Notepad++ but it does not validate anything. I also opened it in Excel to make sure the data is in the correct fields and is not mangled in any way, and it looks fine.
    – user6861
    Commented Mar 12, 2014 at 22:59
  • 2
    (1) is your Dataloader Map file (.sdl) correct in terms of mapping the proper column to account.name? (2) What happens if you create the same data by hand (1 row) in excel and save as CSV - will that import without error?
    – cropredy
    Commented Mar 12, 2014 at 23:06
  • Can you reduce the size of your CSV file to just the first record. If data loader can handle that then it is likely there is data in one of the rows causing an issue. Commented Mar 13, 2014 at 1:16
  • This is a single record: an Account in a two-line CSV file.
    – user6861
    Commented Mar 13, 2014 at 1:31

2 Answers 2


Please TRY to use jitterBit data loader just as an alternative and if it still errors out then it confirms that there is something wrong with the file or the mapping file.

use the same data to create via UI, so it confirms whether the data in the file/mapping file is correct or NOT.

If the data load using JitterBit loader works then it is not a bug with salesforce.


This was an RTFM moment. Despite the fields existing in the CSV file, that does not actually map them into the org's data. It is possible that the two orgs have slightly different data layouts, and Data Loader cannot know that.

In this case the layouts were the same, so I told it to auto-detect the field mapping and it easily figured it out (the field names are identical between these two orgs).

Thanks to @crop1645 and @varum guruvugari for the hints that made me go back and comb through the documentation.

You must log in to answer this question.