infinity.json in publish instance | Community
Skip to main content
Rohit-Negi
Level 3
September 13, 2021
Solved

infinity.json in publish instance

  • September 13, 2021
  • 2 replies
  • 3174 views

Hi All,

 

We are facing an issue on publish instance where when trying to open any page as infinity.json do not given any result on page though it gives a 200 OK status.

When opening the same page with a numeric.json it gives a result.

Example: /libs/cq/security/content/admin.infinity.json---> Doesn't show anything on browser but returns 200 OK 

But, /libs/cq/security/content/admin.4.json provides some results on browser.

 

Is it configurable somewhere to block the infinity selector? We are opening it through IP address so Dispatcher is not in the picture.

 

 

Thanks,

Rohit

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 Ritesh_Mittal

Hi @rohit-negi ,

 

Have you tried different browsers? Also, do you see any response data in the network tab where you see the 200 response code? I believe you must have tried restarting the sever. One more thing, just try to uninstall your project specific modules and see if it works, also check the error log when you access the infinity.json, any error if you find.

2 replies

Asutosh_Jena_
Community Advisor
Community Advisor
September 13, 2021

Hi @rohit-negi 

 

I can see it's working as expected.

Infinity is a special selector handle by defaultSlingServlet. If you want to access any of the page's content using the infinity.json please use the below syntax.

 

http://localhost:4502/content/we-retail/us/en/jcr:content.infinity.json

This will access the JCR content node which holds the page data.

 

Thanks!

Rohit-Negi
Level 3
September 13, 2021

Hi @asutosh_jena_ ,

 

http://localhost:4503/libs/cq/security/content/admin.infinity.json is working fine on my vanilla instance but is not working on the instance in which we are facing the issue, So I am sure it is not the expected behavior that we are facing.

 

Thanks!

Asutosh_Jena_
Community Advisor
Community Advisor
September 13, 2021

Have you logged in as admin user?

Ritesh_Mittal
Community Advisor and Adobe Champion
Ritesh_MittalCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
September 13, 2021

Hi @rohit-negi ,

 

Have you tried different browsers? Also, do you see any response data in the network tab where you see the 200 response code? I believe you must have tried restarting the sever. One more thing, just try to uninstall your project specific modules and see if it works, also check the error log when you access the infinity.json, any error if you find.

Rohit-Negi
Level 3
September 13, 2021

Hi @ritesh_mittal ,

 

Yes, Tried different browser. Response data is blank. Yes have restarted server as well. There is no entry in error.log as getting Status OK . Haven't tried after uninstalling my project module. Will try the same.

 

Thanks!