HI Team,
version : 6.4
service pack : 6.4.4.0
In fact author and publisher post servlets are failing .
Sling post servlet failing with 403 error. From logs this is the information com.adobe.granite.csrf.impl.CSRFFilter isValidRequest: empty csrf token - rejecting
Followed the below steps :
Step 1:
Step 2:
After removed these 2 working fine. But client is saying since last week the post Servlet was worked fine, In fact no changes are made in dispatcher, Thanks in advacne.
Thanks,
Hari Chandana
Solved! Go to Solution.
Views
Replies
Total Likes
Since you have mentioned that everything was working fine till last week and nothing has changed I am not sure what is going wrong. But normally this error happens when the AEM doesn't sent the CSRF token along wiht the request. Jorg has answered a similar question here . Check if this helps
Thanks
Veena
Since you have mentioned that everything was working fine till last week and nothing has changed I am not sure what is going wrong. But normally this error happens when the AEM doesn't sent the CSRF token along wiht the request. Jorg has answered a similar question here . Check if this helps
Thanks
Veena
Hi @hari_krishnac22,
Can you check that a CSRF token is actually sent to the dispatcher? Can you enable debug logging on dispatcher and see if that header is transferred to the publish? The header name is "CSRF-Token". If it is not there, include the "CSRF-Token" under clientheaders in dispatcher config file.
Thanks!!
@hari_krishnac22 Can you also check if you are using any of the two clientlibs before but removed recently?
granite.jquery or granite.csrf.standalone.
Step 2 is not recommended.
Got the solution from community. Thanks folks.
Views
Likes
Replies