Error Handling for SPA- 500 error page not working | Community
Skip to main content
October 24, 2021
Solved

Error Handling for SPA- 500 error page not working

  • October 24, 2021
  • 1 reply
  • 1225 views

I have implemented a customised error pages using acs-commons approach for SPA to capture 404 and 500 errors on AEM. The 404 pages are working fine with this approach but we are facing issues with implementing 500 errors. We have followed this documentation/ github approach https://github.com/niekraaijmakers/aem-spa-editor-errorpages-example#404-pages

The basic problem which we are facing is that we can't set the structureDepth to "0" for 500 error pages at the root level as it will not include the child pages and there will be just one page in entire spa application.

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 Sanjay_Bangar

Hi @rasleenarora ,

       Could you please check the below solution.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-handle-500-error/m-p/207151

Regards,

Sanjay

1 reply

Sanjay_Bangar
Community Advisor
Sanjay_BangarCommunity AdvisorAccepted solution
Community Advisor
October 25, 2021