1
votes

I have a working configuration of Tableau reports embedded in our web site (JavaScript API, Trusted Authentication). There is a problem with exporting report to PDF. An unauthorized error (401) shows up in browser console when opening export to PDF dialog. It looks like "Sheets to export" section should display view thumbnails, for me it shows only blank squares with view name.

What I see in browser console is:

GET https://[host]/t/[site]/thumb/views/[view] 401 (Unauthorized)

Actual response for that request is:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <error xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <code>46</code>
    <message>Not authorized</message>
    <details>No valid session found. (errorCode=46)</details>
</error>

Export itself works ok, and PDF file is created. Any ideas why just the view thumbnail query fails?

1

1 Answers

1
votes

If anyone faces the same problem: I've contacted the Tableau support and it looks like that this behaviour is connected with Trusted Authentication. In short trusted tickets are limited to the content that they were issued for, and worksheet thumbnails are not considered an integral part of a workbook. The solution for this would be to enable Unrestricted Tickets in tableau server, but it is not acceptable for us as it allows the user with access to the Tableau report embedded in our web application to access Tableau Server web interface.