Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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.

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.