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
Inês MotaInês Mota 

Account: bad field names on insert/update call:

I'm trying to insert records into my org, using data loader and I get the error "Account: bad field names on insert/update call: " and then custom Contact fields (__pc). I have googled and came up with nothing that worked. The user has permission to view/edit all fields so it's not that and there are no roles in the org. How can I fix this, in order to insert the records?
ShirishaShirisha (Salesforce Developers) 
Hi,

Greetings!

I would suggest you to check the field API name.You should use API name while inserting the record.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
Inês MotaInês Mota
Hello, I found out what the problem was, those fields had no values on them (untouched Checkboxes) so they couldn't be mapped. After this, though another similar error appeared maybe you can help me with this one too? 
The error is "Unable to create/update fields: Name. Please check the security settings of this field and verify that it is read/write for your profile or permission set."
The Name field is for the object Account, with Person Accounts enabled. I tried to use FirstName and LastName instead of the Name field (as suggested by other people in other forums) but I got other errors like saying the Name field is required and the FirstName and LastName fields are not being used. I have checked every kind of permission for that field I think and still haven't come to a conclusion. If you could help I'd appreciate it very much
hd ss 6hd ss 6
Looking for the same solutoin to install new device drive with my pc. I have got some help from daanipc (https://www.daanipc.com/) but need more guidance.
Buzz LightyearBuzz Lightyear
Hi where you able to solve this
I have a similar error in trying clone business accounts with a flow
It works in orgs with no person account but once they are enabled

The __pc fields cause INVALID_FIELD_FOR_INSERT_UPDATE: Account: bad field names pc on insert/update call: 
Elijah NelsonElijah Nelson
Really instructive and inspirational. You come away from it with a new outlook mapquest driving directions (https://mapquestdrivingdirections.io) and a drive to learn more.
Arun Kumar 1141Arun Kumar 1141
Hi @Ines,

Please check :

1. Field names in your data file
2. Confirm the presence of custom Contact fields (__pc)
3. User permissions

Thank you.
Harry MaguireHarry Maguire
The error "Account: bad field names on insert/update call" in Salesforce's Data Loader typically indicates a mismatch between the field names in your CSV file and the field names in your Salesforce org. Double-check the field names in your CSV file and ensure they match the API names of the fields in your Salesforce org. If you're working with custom fields, make sure you're using the correct API name, which might include "__c" for custom fields. Additionally, verify that the user running Data Loader has the necessary permissions to insert records for those fields. raiderlinkttu (https://raiderlinkttu.us/)
Mark Boucher 12Mark Boucher 12
The "Account: bad field names on insert/update call" error in Salesforce Data Loader is typically due to field name discrepancies. Check that the field names in your CSV file precisely match the API names in your Salesforce org. Pay attention to custom fields, ensuring you include "__c" if needed. Confirm that the user running Data Loader has the appropriate permissions for inserting records into these fields.
Ryan RobbieRyan Robbie

I really value that you wrote this great post for us. I promise that this will be good for most people mapquest driving directions (https://mapquest-drivingdirections.io)