Skip to main content
Hi All

We are trying to update a contact record (which is user contact record) from the sf community using a flow.

And it is the same User which is accessing the community

But the flow seems to break with an error:

The flow tried to update these records: null. This error occurred: INSUFFICIENT_ACCESS_OR_READONLY: insufficient access rights on object id. 

and it seems to be error related to OWD being "Controlled by Parent" for contact and "Private" for Account.

So we tried for Apex Sharing but even the apex sharing is not able to share the contact records.

Apex Sharing insertion list for contactShare recrod is throwing following error in debug:

insufficient access rights on cross-reference id;getStatusCode=INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY;])

So now at this point we are not sure if this is even feasible or not.

Any Approach line or Solution is welcome

Thanks
2 answers