AEM SPA(React) not loading in publish instance | Community
Skip to main content
Level 2
July 20, 2023
Solved

AEM SPA(React) not loading in publish instance

  • July 20, 2023
  • 1 reply
  • 2401 views

Hi,

 

 We're implementing AEM React SPA in our project. Page is loading fine in the author but not in the publisher. Page is empty and this is due to en.model.json not at all being fetched and failing with 404 status. cq:pagemodel_root_url attribute is populated with the right model json value in publish. Are we missing something here?  

 

Thanks,

Divya

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 mahi1729

We do not have access to CRX on publisher. We are using AaaCS.


Do you have a dispatcher that's probably blocking model.json requests? Can you find if thats the case. And as a last resort compare infinity.json on en node in author and publisher.

1 reply

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 20, 2023

Do you see any browser console error? Can you post it if so?

Esteban Bustamante
Divya_13Author
Level 2
July 20, 2023

Yes, I do see console errors and it is regarding the json not being loaded.

 

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 20, 2023

What happens if you hit directly in the browser that URL? do you have enough rights?

Esteban Bustamante