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
Nagaraja SV 12Nagaraja SV 12 

Server responded with a status of 401 in lightening out

I have added lightening App  to visualforce page it working well But

the issue here is Added that visualforcepage to sites 

I am geeting below Failed to load resource: the server responded with a status of 401 (Unauthorized)

Any suggestions 

VF page code

<apex:page standardController="contact" sidebar="false" showHeader="false" cache="false">

<apex:composition template="{!$Site.Template}"> 
    <apex:define name="body">

    <apex:includeLightning />

    <div id="lightning" />

        $Lightning.use("c:ContactsAPP", function() {
          function(cmp) {
            console.log("Component created!");



Lightening APP
<aura:application access="GLOBAL" extends="ltng:outApp">
   <aura:dependency resource="c:contacts"/>