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
Tim SauchukTim Sauchuk 

simple_salesforce bulk insert - Duplicate Id error

I am using the Python package simple_salesforce to bulk insert instances of a custom object. The custom object has Account Id as a foreign key, which I am inserting during the bulk insert.

I'm seeing an error in my bulk data load logs for Duplicate Id, which I have determined is referring to Account Id. I'm not sure why this would be flagged, since Account Id is not the primary key of the custom object. A support rep told me to look into my automation for this object, but I'm not sure where to start. What are some possible causes of this issue?
Howard HongHoward Hong
Any answer on this? Having a similar issue