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!
Jannis BottJannis Bott
Try to give the Guest User License permission to all fields that are in your VF page. Also make sure that the Guest User License is allowed to access Leads (Setup --> Develop --> Sites --> 'YOUR SITE' --> Public Access settings).

Hope this helps?!