Linked Questions

1
vote
2answers
884 views

Mass Password reset Salesforce - System.InvalidParameterValueException: INSUFFICIENT_ACCESS: insufficient access rights on cross-reference id [duplicate]

I wrote a small script in anonymous window in dev console to reset password for all users in the org apart from two. But it keeps throwing a error like - System.InvalidParameterValueException: ...
0
votes
1answer
31 views

Insufficient access rights on cross-reference id error on creating a case record [duplicate]

The scenario is, I am Creating a Case record type and then getting this error. When I am doing this I am logged in as a user from the profile which has access to Create, Read and Edit this specific ...
1
vote
2answers
2k views

VF controller system context versus Sites Guest User object permissions

I'm trying to clarify VF controller context versus Sites Guest User permissions on Contact record. From everything I've read, a VF controller using "without sharing" operates in the system context. ...
1
vote
3answers
823 views

How to avoid "insufficient access rights on cross-reference id" error when inserting a master detail child of Contact by a Community User?

I have a custom object, Ticket__c, that has a master detail field to Contact. I have a Digital Experience accessed by "Customer Community" licensed users. One of the pages provides access to ...
1
vote
2answers
799 views

Unable to update username

I have a remote action method which needs to update Username in User object, but it only works if I define my class as public without sharing. If I use public with sharing instead, updating Username ...
0
votes
1answer
749 views

Getting the following error INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY for a site guest user

So I know similar questions has been asked before, but I couldn't find a solution using the following links: Link1, Link2, Link3 (and more) The situation is as follows. So I have a form (a visualforce ...
3
votes
1answer
251 views

Force.com IDE "Unable to refresh resources: INSUFFICIENT_ACCESS: insufficient access rights on cross-reference id (Failed)"

I'm trying to create a new project from a sandbox environment, but when it tries to download the default metadata (just code components), I get this error: Unable to refresh resources: ...
0
votes
1answer
197 views

Can change the ownership(to internal user) of custom object record by Site Guest User

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 ...
0
votes
0answers
187 views

Inserting record on Junction object with formula fields

I have Junction object called Agreement Scope which has two Master Detail relationships with Account and Agreement. We are assigning Account and Agreement in the lightning components Apex Controller ...
0
votes
1answer
87 views

Unable to Import a Report into Marketing Cloud from Service Cloud

Our org was recently integrated with our service cloud application and I can currently sync over objects. When I attempt to import a report into marketing cloud via EmailStudio --> Interactions --&...
0
votes
1answer
26 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY and Criteria-Based Sharing Rules

See also this well-trod question/answer Given OWD of Private on Lead afterInsert trigger on Lead inserts (via Apex) a child Task pointing at the parent Lead via WhoId Criteria-based sharing rules ...