Hi I export a report from production, now I want to move exported report to sandbox object. In my report contain all fields same in that sandbox object. But every time it shows 0 successful and 103 errors. I am using data loader for this,

i have total 103 records in my report. in the csv error report

"Required fields are missing: [Account__c]"

  • what error are you getting in the error file? – AslamK Mar 28 '16 at 9:36
  • i have total 103 records in my report. in the csv error report "Required fields are missing: [Account__c]" – Rajesh Mar 28 '16 at 9:44
  • 2
    Well isn't it clear from the error that the Account__c values are missing? Maybe you did some changes in the Sandbox by making that field mandatory, or added this new field perhaps. But this should be something really simple for you to identify and fix. – AslamK Mar 28 '16 at 9:49

If this is a new sandbox that you are loading data into then and the object looks up to the Account object, you'll need to first load the Account records into the sandbox. The best way to do this is to export the account records from the source sandbox (including the ID) and then load those records into the new sandbox. The success file will now have a record with the source sandbox ID and the destination sandbox ID. You'll need to replace the Account__c field in the new object file with the new account ids. Vlookup can do this easily.

If your accounts look up to other objects then you'll need to load those first and replace those IDs in your account file as well. It's not a fun process but it's all doable.


Did you update lookup field values to relevant Sandbox values before updating them in Sandbox? If not, please update the lookup field values to relevant values in Sandbox before executing the data load.

  • i dont have any records in sandbox. and this new sandbox i created from production. – Rajesh Mar 28 '16 at 12:25

Map the Account__C field from the csv's column. From the error message it seems that this custom field is compulsory field which you are not mapping, hence you are hitting the error.

Please let me know if you need more information here.

Regards, Krishna

  • in my account__c have look up field, how to map that field? – Rajesh Mar 28 '16 at 12:21
  • @Rajesh just grab the Id and add into your csv file. then perform operation. – Ratan Paul Mar 28 '16 at 12:26
  • 1
    can you explain that records in sandbox and production are with same Id or different. if yes then you can populate this id's in csv and map to Account__c field. – Krishna Bidwai Mar 28 '16 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.