Environment issues in my AEM development instance | Community
Skip to main content
samsundar23
Level 4
July 5, 2021
Solved

Environment issues in my AEM development instance

  • July 5, 2021
  • 4 replies
  • 1406 views

We are using AEM 6.5.7 and there are couple of issues coming up in my development server.

  • Issue 1: When we try to edit and apply the changes in any component. We receive the "Forbidden Error".
  • Issue 2: When we publish any AEM page, we are seeing an error "ERROR Failed to retrieve references for the selected page" on top of the page.

Issue 1:

Issue 2:

When we debugged for both these issues, the root cause seems to be same and we received an error in the browser console at granite.min.js:7

Please find the below code snippet corresponding to it.

Kindly let us know any resolution for this problem.
We are unsure about the root cause behind this problem.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Bhuwan_B

@samsundar23 Please check if the user has create/modify permission. Please refer to below URL for "ERROR Failed to retrieve references for the selected page" issue.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/publishing-error-failed-to-retrieve-references-for-selected/qaq-p/213854#:~:text=On%20this%20specific%20page%20you,code%20on%20this%20publish%20server.

4 replies

Bhuwan_B
Community Advisor
Bhuwan_BCommunity AdvisorAccepted solution
Community Advisor
July 5, 2021
Ritesh_Mittal
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 5, 2021

Hi @samsundar23 ,

 

Try admin user if you are getting the "Forbidden" error. also check below thread for similar issue-

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/console-error-aem-6-4-8-we-see-a-403-forbidden-when-clicking-on/qaq-p/372796

kautuk_sahni
Community Manager
Community Manager
August 5, 2021
@ritesh_mittal, nice answer.
Kautuk Sahni
arunpatidar
Community Advisor
Community Advisor
July 5, 2021

Hi,

Is your Author behind the dispatcher? If yes then check the CSRF-Token header is present or not in post request when you update the component.

try with direct Author access as well?

Arun Patidar
shelly-goel
Adobe Employee
Adobe Employee
July 5, 2021