2

I am trying to load test data of custom object in my DB using Test.loadData method from csv file.The error I am getting states that "System.StringException: Unknown field: Type__c".

2
  • 1
    This error suggests that your CSV file has a column header that is unknown to the object you're trying to load. Make sure the column headers match the fields defined in the object. If the problem were loading into the custom object itself (because it didn't exist), you'd get a different error.
    – sfdcfox
    Commented Sep 22, 2014 at 12:52
  • Yeah...I just got that too.In my org i have managed package.So what I was missing is...the package name need to be used as prefix for the field. Commented Sep 22, 2014 at 13:23

0

You must log in to answer this question.

Browse other questions tagged .