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
RajeevKumarRajeevKumar 

How to Lead Insert Owner Name

I can see field name for owner is Owner , but how to insert owner , using partner api.
getting error
Errors were found on item 0
Error code is: INVALID_FIELD
Error message: The external foreign key reference does not reference a valid entity: Owner
Please help.
SuperfellSuperfell
Set the ownerId field, and not the owner relationship.
RajeevKumarRajeevKumar
worked fine. thank you very much.