JSON Exporter would not deliver the contents of my pages published in some environments | Community
Skip to main content
Level 2
Sep 19, 2019 4:18 PM UTC
Solved

JSON Exporter would not deliver the contents of my pages published in some environments

I have a page with the following path /content-test/order/image-content-service.html, which is published in all my environments.

When I try getting the JSON model of it /content-test/order/image-content-service.model.json, it returns JSON in some environments. In other environments, it just returns the same page.

I am wondering if there is some environment setting that enables JSON delivery.

Can anybody help?

Thanks,

Leo

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
leoberliantAccepted solution
Employee
Sep 20, 2019 1:29 PM UTC

Do you have a Dispatcher front end on those environments, where JSON call is failing? If yes, review the dispatcher rules and make sure that the call is nor denied.

3 replies

Level 2
Oct 10, 2019 4:08 PM UTC

berliant​, thanks for your suggestion. After making some changes to Apache rewrite rules for environments in question, the  problem got fixed.

Translate
leoberliantAccepted solution
Employee
Sep 20, 2019 1:29 PM UTC

Do you have a Dispatcher front end on those environments, where JSON call is failing? If yes, review the dispatcher rules and make sure that the call is nor denied.

Translate
Employee
Sep 19, 2019 5:18 PM UTC

You may want to check this:

Obtaining Page Information in JSON Format

Translate