Environment issues in my AEM development instance | Community
Skip to main content
samsundar23
Level 4
Jul 5, 2021 8:14 AM UTC
Solved

Environment issues in my AEM development instance

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.
Bhuwan_B
Bhuwan_BAccepted solution
New Participant
Jul 5, 2021 8:39 AM UTC

5 replies

shelly-goel
Employee
Jul 5, 2021 1:35 PM UTC
arunpatidar
New Participant
Jul 5, 2021 12:35 PM UTC

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?

Translate
Arun Patidar
Ritesh_Mittal
New Participant
Jul 5, 2021 9:17 AM UTC

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

Translate
kautuk_sahni
Employee
Aug 5, 2021 1:04 PM UTC
@ritesh_mittal, nice answer.
Translate
Kautuk Sahni
Bhuwan_B
Bhuwan_BAccepted solution
New Participant
Jul 5, 2021 8:39 AM UTC

@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.

Translate