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
Becky RaphialBecky Raphial 

MyDomain.Force.com Guest Site User - Error Message

I created a flow that uses a VF page (www.mydomain.force.com), that is accessed outside of SFDC by a "Guest User" license.  The flow simply creates a Lead within SFDC (standard object), and that is all.  As of the Summer 14 release into our org, I now receive the following error message every time someone tries to access it:

UPSERT --- UPSERT FAILED ---  ERRORS :  (INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY) insufficient access rights on cross-reference id ---  for SFDC record with ID : null,

Please help me figure out how to fix this error.  I am only referencing one object in my flow (creating a Lead), so I'm not sure what the "cross reference" is referring to.  Any help is much appreciated!
Phil WeinmeisterPhil Weinmeister
Hi Becky,

Check two things:
  1. Organization-Wide Default Sharing Setting for Leads
  2. Go to your site in the Setup menu and then click on Public Access Settings. Make sure that your guest user has appropriate access to Leads and, specifically, to the right Lead fields.

Let me know what you find...

Thanks,
Phil