We have lightning community, in which we have drag and drop component.
After onclick of button, we are updating custom object 'contact survey' record owner id. In
@AuraEnabled method we are updating the owner id of the 'contact survey' with parent custom object 'account' 's ownerId.
System.DmlException: Upsert failed. First exception on row 0 with id first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: