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
Shiran Ben ShimolShiran Ben Shimol 

Force.com Site - Authentication Required Error Message

Hi Guys,

I really need your help.

I have a form (vf page) that being sent to our partners on force.com site.
The partners should fill in the form questions and click on the SAVE button.
In the submission, a new record is being inserted or updated (upsert action) into salesforce.
Some of the partners are able to Submit the form, but others get the 'authentication required' error message.

All the users use the Guest profile/license.
I have given to this profiles all the permissions I can.
We dont have customer portal and we cant buy it.

Is there a way to authenticate guest users ? in salesforce documentation I see only how to authenticate customer portal users.
No information about the guest user.

Can someone help? Why does sometimes it works good and sometimes not ?

Thanks,
Grazitti TeamGrazitti Team
Hi Shiran Ben Shimol ,

'authentication required'  is a standard exception message by salesforce if something fails. so it means there is a bug in the code of controller of the page. 
so check your debug logs to  identify the actual error.  permissions are not the issue .



let us know if you have any question .
please don't Forget to Mark this as your best answer if it works fine for you

Regards,
Grazitti Team
Web: www.grazitti.com
Shiran Ben ShimolShiran Ben Shimol
The problem is that I’m not able to reproduce this error. It’s always works for me good. I have tried so many times to use the debug and reproduce this error but with no success.