Author instance:
https://author.xxxxx.com/api/assets/contentfragment/demo.model.json - works and print out json data.
Publisher instance:
https://www.xxxxx.com/api/assets/contentfragment/demo.model.json- The requested URL not printing json data
Solved! Go to Solution.
Views
Replies
Total Likes
@Aditi5 If you are trying through dispatcher url, make sure the link is allowed in dispatcher rules.
Eg:
/0001 { /type "allow" /method "GET" /url "*/api/assets/contentfragment/demo.model.json" }
Apart from above one, did you try debugging the issue like below
1. Have you checked network logs in browser? Any console errors?
2. Is it working fine with publish IP address? If not make sure the asset is activated and queue is clear.
3. Any errors in AEM logs? when you try to access the fragment?
Thank you!!
Got Sample Content Fragments on my local setup and published a CF on to the publisher. And I see no issues in getting a json response:
http://localhost:4503/api/assets/sample-content-fragments/cities/berlin.model.json
Please validate, that Content Fragment has been published to the Publisher.
Also, when you hit above url on Publisher, what response do you get.
This should work seamlessly, unless your Content is stuck in Replication/Distribution Queue.
@Aditi5 If you are trying through dispatcher url, make sure the link is allowed in dispatcher rules.
Eg:
/0001 { /type "allow" /method "GET" /url "*/api/assets/contentfragment/demo.model.json" }
Apart from above one, did you try debugging the issue like below
1. Have you checked network logs in browser? Any console errors?
2. Is it working fine with publish IP address? If not make sure the asset is activated and queue is clear.
3. Any errors in AEM logs? when you try to access the fragment?
Thank you!!
Views
Likes
Replies