function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nicole MartinezNicole Martinez 

Apex Data Loader Error

I am attempting to upload records into Sales Force with Data loader and get this error message for each item record type missing for: Patients.  Not sure how to fix this all the fields are mapped properly and seem to be fine. 
Best Answer chosen by Nicole Martinez
Tolga SunarTolga Sunar
You are probably missing the RecordTypeID column in your .csv file to be uploaded, since your Patients object appears to use record types. 

Login into your Salesforce organization, open each record type's detail page (found under Setup > Create > Objects > Patients > Record Types list), fetch their IDs from URL, and populate your new column in the .csv file with these IDs. Every record must have one of these IDs.

While mapping in DataLoader, map your new column to RecordTypeID field.

All Answers

Tolga SunarTolga Sunar
You are probably missing the RecordTypeID column in your .csv file to be uploaded, since your Patients object appears to use record types. 

Login into your Salesforce organization, open each record type's detail page (found under Setup > Create > Objects > Patients > Record Types list), fetch their IDs from URL, and populate your new column in the .csv file with these IDs. Every record must have one of these IDs.

While mapping in DataLoader, map your new column to RecordTypeID field.
This was selected as the best answer
Nicole MartinezNicole Martinez
Yes that was it.. thanks!