Error when saving new Person Account - "Account: bad field names on insert/update call: FirstName La

I’m getting the following error when saving a new Person Account

"Account: bad field names on insert/update call: FirstName LastName" 

I’m filling in First Name and Last Name, but not Account Name. A standard SFDC page will show Account Name in View mode, but First Name and Last Name in Edit mode. First and Last are then concatenated into the Account Name behind the scenes. 

I have tried filling in the Account Name in addition to First and Last, and also just Account name by itself. No difference in the error message.


Have you added a Condition on the Account model to specify its RecordTypeId? If you do not set a RecordTypeId, and specifically set the RecordTypeId to a Person Account Record Type, then I’m guessing what’s happening is the Record Type is defaulting to a Business Account Record Type, which would explain the error message you’re getting.

Yes, that was the problem.  

I was thinking it was specified when I selected it (via the SFDC user interface) and also didn’t realized that on a new page a condition was setting a value. I had the query mentality going on . 

Thanks!