Yes, Session has all the permissions. Actually, after having further more debugging on the issue we noticed that mostly it is failing for the pages which are having the "jcr:primaryType" as "nt:unstructured". It is a success for the pages which are having "jcr:primaryType" as "cq:PageContent" in th...