Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

415 Error while trying to retrieve report content

$
0
0
This is a post related to PDI but the functional issue seems to be in BISERVER.

I've been trying to use BI-SERVER (8.2) to generate some reports and save them as PDF through PDI.

Using a UDJ step I can save binary data that is returned.

Trying to use the REST client step I'm ending up with HTTP Status 415 – Unsupported Media Type when calling with POST and output-target parameter as 'pageable/pdf'

Using the REST client step with GET .../generatedContent?output-target=pageable/pdf returns the pdf binary in the response.

All fine and good, however using the GET method I have to include the user/pw in the URL, which I don't like. I would rather
include in the POST parameters.

I've tried to manually include content-type as application/pdf...for the POST, same result.

Is this a Tomcat configuration error or a pentaho configuration error or just a limitation of the server?

FYI: POST without specifying an output-target does return an html report.

Any ideas?

tia,

BobC

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>