Getting error on report generation

I am trying to integrate an existing report using visualize.js and its giving me error in chrome console. The report is working fine when invoked externally through jaspersoft. See below the error, I have also attached sceen shot

GET…2-d1f544b5e65c/exports/2925c367-b606-44fd-91fb-d87db9c45a94/outputResource 404 (Not Found) 16:17:34.530 [bi/report/Report] [ERROR] - resource.not.found : Resource 2925c367-b606-44fd-91fb-d87db9c45a94 not found.

Report is initialized fine as no error is logged in{ error: function (err) {...} });

Even this method is invoked fine

event: {reportCompleted: function (status) {...}}

JS Fiddle snippet, available at

Error I am getting in this method (err) {...}}

One more thing I observed: I receive same error while running a sample report instead of one our report? See in

atifoxon's picture
Joined: May 17 2015 - 6:03am
Last seen: 7 years 1 month ago

@hozawa I cannot access the url by typing it in the URL. Furthermore I have digged through this error and it seems to be related with Restuful webservice Requesting Report Output. Does at the backend is it using web services?

atifoxon - 7 years 10 months ago

4 Answers:

Try entering the url causing the error in your web browser to see if the file can be found. JasperReports Server, also, protect against cross site scripting so the js files must be in the same domain as the report file.

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago

Can any one help whats the issue with simple report rendering here?

atifoxon's picture
Joined: May 17 2015 - 6:03am
Last seen: 7 years 1 month ago

Probably you already got the answer but I got the same problem. The fix is the headers from the first request should be passed to the next request. If you do so it will work.

nick_39's picture
Joined: Jun 4 2019 - 10:15pm
Last seen: 1 year 4 months ago

@nick_39 could you please provide some more details on how to solve this issue, even i'am facing this problem

rakeshdn97's picture
Joined: Dec 14 2020 - 7:19am
Last seen: 2 years 2 months ago