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
TanuTanu 

Id Value Of Incorrect Type while inserting records using workbench.

Hi All,
I need to insert records in custom object in which one fiild having lookup relation ship with user. while using workbench i am getting error in sales person feild. i. e sales person: Id Value Of Incorrect Type.  Please let me know what mistake  i am doing??
Below are the details for object and fielde in which data needs to be inserted.
Object name :  OAP__c
Fields: Sales person (Lookup {User})
           Billing Type : Text

Thanks 
Tanu
Lokesh KumarLokesh Kumar
Hello Tanu,

As you mentioned above that you were trying to insert a value in the lookup field which is mapped to the User object.

kindly check your id value that you are gonna update and for easy verification copy and check like 
https://your-instance.my.salesforce.com/00528000002sK2lAAE
 
TanuTanu
Thanks Lokesh for your response..
I need to insert(not update) data in all the fields in one go. i am able to insert data in fields except lookup field.