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
laxmi narayan 11laxmi narayan 11 

Error While Converting a lead

Hi there,

When I click on convert button from lightning, this error occur:-

ConvertLead failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Converted objects can only be owned by users. If the lead is not owned by a user, you must specify a user for the Owner field.: [OwnerId]

Please let me how to fix this problem

Thanks 
LN
Best Answer chosen by laxmi narayan 11
AnudeepAnudeep (Salesforce Developers) 
Hi LN, 

If you are converting a lead, it should have a 'user' as the record owner.

I recommend checking the record ownership and see if it is assigned to a queue. Try updating the 'Lead Owner' field with any 'user'. Also, see if you have any lead assignment rules in your org 

Anudeep