Linked Questions

0 votes
1 answer
12k views

Insufficient Access Rights On Cross-reference Id: error

I try to insert on custom object with user1 and works fine, I try with user2 and get "Insufficient Access Rights On Cross-reference Id:" error. Both have Read Create Edit and Delete ...
0 votes
2 answers
1k 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 ...
-2 votes
1 answer
737 views

How to solve " We can't display this information, ask your admin for help"

I have a request where the user is unable to send an email from SF to the client. After additional research, I discovered that there are no contact details for the case. Instead, it displays the error ...
0 votes
1 answer
54 views

Salesforce createMetadata fails with INSUFFICIENT_ACCESS_ON_CROSS_EREREFERENCE_ENTITY

We are trying to create a custom field on lead object using metadata api, But it fails with the error "INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY". We have checked the permissions for the ...
2 votes
3 answers
7k 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 ...
0 votes
1 answer
317 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 ...
0 votes
1 answer
530 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 ...
0 votes
1 answer
1k 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
1 answer
312 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
0 answers
298 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 ...
1 vote
2 answers
1k 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: ...
3 votes
1 answer
280 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: ...
1 vote
2 answers
1k 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 ...
1 vote
2 answers
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. ...