The error below occur if I'm converting a lead that has the same account in Lead Conversion. For example,
I put a Lead under the Account 1 then convert it also with Account 1. Is this possible in Salesforce OOTB or does the Salesforce thinks that it parents itself (Account) so that it shown an error of CIRCULAR_DEPENDENCY? What is the other recommendation to solve this error? Thank you.
Error: System.DmlException: Update failed. First exception on row 0 with id 0010n000001oXhvAAE; first error: CIRCULAR_DEPENDENCY, attempt to violate hierarchy constraints: [Hotel__c] Class.leadconvert.BulkLeadConvert.handleRegularAccountUpdates: line 261, column 1 Class.leadconvert.BulkLeadConvert.convertLead: line 92, column 1