Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Trigger Error Code From Sightly

Avatar

Level 5

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,

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

AEM LinksLinkedIn

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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

AEM LinksLinkedIn