Jaspersoft JSON Data Adapter 404 error handling

0

**************************
***** New to Jaspersoft *****
**************************

I have a main report with 3 subreports.  Each subreport uses a dynamic data adapter to query a JSON API.  Since the API URL's are build dynamically, I can not predetermine if the API will succeed or fail.  I have to allow the user to attempt the call and then handle for the 404 error.  

I am looking for solutions on how to capture from the subreport that the data adapter JSON API called failed with a 404.  The reason is that if one of the subreports fails, none of the subreports will render on the main report.

Hope that is a good enough explanation to get your thinking about a possible solution.

grimm11's picture
Joined: Oct 6 2021 - 10:58am
Last seen: 6 days 3 min ago

0 Answers:

No answers yet
Feedback
randomness