Trigger Error Code From Sightly | Community
Skip to main content
Level 5
August 7, 2019
Solved

Trigger Error Code From Sightly

  • August 7, 2019
  • 1 reply
  • 1095 views

Hi,

Is there any convienent and easy to use way out to trigger error codes to check error handling. AEM version 6.5.

Error Codes : 500 , 400, 403

Thanks,

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 arunpatidar

Yes, it is possible please check for reference.

/apps/sling/servlet/errorhandler/404.html

or you can include jsp in sightly which set response code.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 8, 2019

Yes, it is possible please check for reference.

/apps/sling/servlet/errorhandler/404.html

or you can include jsp in sightly which set response code.

Arun Patidar