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
Dima KryvyiDima Kryvyi 

Upload files as Community Guest User

Hi all,

I've tried to use lightning:fileUpload component on a community page.
It works just fine for a logged in user and it fails under the guest user.
Browser console gives me this "The action you performed was invalid for your session. Please refresh your page and try again"

User-added image

I've checked debug logs for that user and found no details on that error.
I've tried to give all the permissions in the guest user profile, enable all the options in the community setup, etc.. no luck.

Any Ideas, guys? Is it generally doable?
 
bhanu_prakashbhanu_prakash
Hi Dima,

Issue with Guest user permissions please check below links
https://help.salesforce.com/articleView?id=content_initialsetup.htm&type=5
https://help.salesforce.com/articleView?id=content_delivery_about.htm&type=5

let us know if it helps you and mark it best if it helps you

Thanks, 
Bhanu Prakash
visit ForceLearn (https://www.forcelearn.com)