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
Swagato RaySwagato Ray 

country and state picklist

I have enbled the Country and state picklist. It is working fine in VF page but "Unauthorized" exception has been thrown whenever I tried to access it from the external user like Gustuser profile of the "site".

Please help.
Shashikant SharmaShashikant Sharma
Check field level permissions on Guest profile for the Fields. It could be some other issue. Just to confirm remove the fields from VFP and run the page from Guest user and see if it works then. 
Swagato RaySwagato Ray
The FLS is ok. If I omit the state and country picklist from the page. page is working fine. I think there may be some other problem.
Shashikant SharmaShashikant Sharma
Check object level create , update permisssion for the object having country, state field. Give full access view all if possible for once and see the results. If that does not work then ou have to use do <apex:SelectList /> for these fields.