Unable to display error message on the screen while click on a link when API went down.
I have a requirement, On click of a View PDF link where I have to download PDF document from the API by passing document ID.
Happy path is working fine and able to download the PDF by passing document ID to the API.
When API is down then we need to capture failure message and display it on the screen which is not working.
on click of ViewPDF link calling an activity(Connect-REST is configured through D_Page with an activity) in Open URL in window. Unable to display error message on screen on click of the link when API failed.
Please suggest me on this. Any help is appreciated.
Thanks in Advance.