Content exposed as json is not working in publisher | Community
Skip to main content
Level 4
November 10, 2020
Solved

Content exposed as json is not working in publisher

  • November 10, 2020
  • 2 replies
  • 2264 views

We are currently using AEM 6.5 SP 6.5.6 . Code is failing to work in publisher , works fine in author instance

 

Author : content/*/en/*/jcr:content.service/*.json - Works fine

Publisher: content/*/en/*/jcr:content.service/*.json - Fails to work

 

I did check the bundles in both instance - Bundles are active 

Tried restarting the bundle in publisher . Also tried restarting the instance. Still the publisher fails to work

 

Is there a way to check when we  hit content/*/en/*/jcr:content.service/*.json is our core bundle actually being called ? -- How could we possibly troubleshoot this kind of issues?

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 arunpatidar

you can use sling servlet resolver to check which servlet is getting called when you hit that page and try to change jcr:content with _jcr_content in the url

2 replies

Anudeep_Garnepudi
Community Advisor
Community Advisor
November 10, 2020

Hi @aemnewbie 

Please check dispatcher rules. Dispatcher might be blocking the request.

AG

AG
AEMnewbieAuthor
Level 4
November 10, 2020

@anudeep_garnepudi I am hitting the IP's directly

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
November 10, 2020

you can use sling servlet resolver to check which servlet is getting called when you hit that page and try to change jcr:content with _jcr_content in the url

Arun Patidar
AEMnewbieAuthor
Level 4
November 10, 2020
@arunpatidar Thanks alot Arun !! You saved me alot of time