Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Pages throwing 404 in view as published

Avatar

Level 4

Some pages are throwing 404 in author instance when 'view as published'. The page is rendering fine in edit/preview mode. But when viewed as published I'm getting a page not found error. This is the same with publishers as well. When I remove wcmmode=disabled from the author URL I'm getting the page correctly. 

I observe that when I remove Table component from page it is working fine when we see view as published.

vinuu123_0-1686554695634.png

 

3 Replies

Avatar

Community Advisor

Hello @vinuu123 

 

Please check error.log as well.

The Table component must be using some API which works in Authoring mode only. Please look for any NPE(Null pointer exceptions)


Aanchal Sikka

Avatar

Community Advisor

Hi @vinuu123 ,

There is some Sightly expression is failed due to that it throws an error.

check the Sightly code properly might be  syntax is wrong.

Table component data is depend on the other pages/API if yes then check that page and API.

 

 

Thanks,

Sanjay

Avatar

Level 4

hi @Sanjay_Bangar Could you please ping me 

Table component data API, where can I found slightly for table component in crxde.