Jump to content
We've recently updated our Privacy Statement, available here ×

Jaspersoft JSON Data Adapter 404 error handling


grimm11

Recommended Posts

**************************
***** 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.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...