I am trying to access a Visualforce page in a community from a guest user, and I cannot see it. I am trying just with a simple hello world page, to remove the ipothesis of object-related issues.
I assigned the visualforce page to the profile but still, it won't load at all, just a blank page. Any idea?
When i open the console i see only these 2 errors :
DevTools failed to load source map: Could not load content for preview.salesforce-communities.com/auraFW/javascript/1643424164816/aura_prod.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for /ui-sfdc-javascript-impl/source/RecordGVP.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
This is what they should see :
I added the visualfoce page in the profile that is listed here "test3 profile":
Best Answer
I was finally able to fix this issue. If you are using some custom object, giving read permission to it and the fields was not enough for me because the object had private sharing model. I had to create a sharing rule for this object and the guest user profile. Then to be able to access the visualforce page, i just had to do the same things but in production. Somehow the sandbox didn't let me access the visualforce page as guest.
This finally solved the issue.