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
Raja JammulaRaja Jammula 

URL HACK: - "Error: Owner: id value of incorrect type:" can anyone please help me with this error

/a2j/e?
retURL={!Opportunity.Id}&
ent=Opportunity&
CF00N5000000AJ7BR={!Opportunity.Account}&
CF00N5000000AJ7BR_lkid={!Opportunity.AccountId}&
CF00N50000003bRst={!Opportunity.Name}&
CF00N50000003bRst_lkid={!Opportunity.Id}&
CF00N500000030Lze_lkid={!$User.Id}&
CF00N500000030Lze={!$User.FirstName}+{!$User.LastName}&
00N5000000AJ7C2={!Account.EIN__c}&

CF00N500000030Lze is a custom owner field(look up to employee) in the custom object when i am trying to insert a record it's throwing me an error: 
Error: Owner: id value of incorrect type: 00550000005hHsg
Best Answer chosen by Raja Jammula
GAURAV CHOPRAGAURAV CHOPRA
As CF00N500000030Lze is a lookup to custom object Employee the code should also refer to that Employee__c object. Right now it is refering to the Standard User object.