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
Vijay NagarathinamVijay Nagarathinam 

Apex Record sharing issue

Hi Experts,

I have used one custom object "Application". Based on some conditions I have shared the record to particular community user. While sharing a record to community user I am facing the below issue. 

"System.DmlException: Insert failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: []"

Currently, the community user having "read" and "edit" access to the object. Could you guys help me how to resolve this issue?


Take a look at this link: