Expand my Community achievements bar.

SOLVED

Getting 403 Forbidden Error when running reports on publish instance

Avatar

Level 9

Hi All,

We have implemented reports using AEM in built framework,we are able to run the utility without any issue in author instance but when we try to run from publish we are getting 403 Forbidden Error.

I have performed below work-around to run the report but still getting same error.

1. Logged in as admin and have run the report

2.Removed POST method from Apache Sling Referrer Filter configuration and have run the report.

If anyone has come across the same issue,please help me in this regard.

Thanks,

Kishore

1 Accepted Solution

Avatar

Correct answer by
Level 9

Issue is fixed after removing the 'POST' method for Filter Methods property in Apache Granite CSRF Filter configuration.

View solution in original post

4 Replies

Avatar

Level 5

Hi Kishore, sounds like issue with permissions only, for the workaround, can you try providing the "everyone" group access to "/etc/reports".

Avatar

Level 9

i still see same issue.

ERROR: POST /apps/tools/components/xxxxxx/run.html HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter doFilter: the provided CSRF token is invalid

Strange thing is we are unable to run this on local publish instance and getting the same issue.

Avatar

Level 5

Are you trying to access reports using dispatcher ? if yes, then make sure that, you are passing "CSRF-Token" in the header.

Refer this url which is related to the exception which you are getting. Hope it helps.

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

Avatar

Correct answer by
Level 9

Issue is fixed after removing the 'POST' method for Filter Methods property in Apache Granite CSRF Filter configuration.