We are trying to update the contact owner of a new contact created via the customer community in the before trigger and receiving the following error.
insufficient access rights on cross-reference id
The same code works completely fine in the after trigger. The customer profile have read/write access to account and contact in the community sharing setting
with sharing
orwithout sharing
consistently?