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
MikeGillMikeGill 

Intermittent authorization required for externally available visualforce page

Hi,

 

Got a issue which I am unable to reproduce and appears to be intermittent. 

 

I have developed visualforce page which is available externally without login. The user is allowed to update values for a custom object and then click a button to save. I believe the relevant site permissions are in place as it works 99% of the time. 

 

Intermittently they are authorization required when clicking button to save.

 

So I am wondering what else to check.

 

Could it be a timeout issue or browser version.

 

Thanks

 

Pradeep_NavatarPradeep_Navatar

Authorization Required Error can come due the given scenarios :

 

1. You did not include the page which is your concern.

2. You have not provide the field level security and field visibility in Public access setting of Sites.

3. If Page contains any visual force error then it would give this error. You need to run this page internally to find out exact error.

sirhuurusirhuuru

I had the same issue. 

 

It seemed that I had forgotted to deploy the CRMForce package.

 

Setup -> Installed Packages -> CMSForce -> Deploy

 

This is not mentioned in the instructions.