3 Replies Latest reply on Mar 28, 2018 8:23 AM by Angel Rosario

    Unauthorized error in browser console when exporting to PDF from embedded report

    Wojciech Antonik



      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">


          <message>Not authorized</message>

          <details>No valid session found. (errorCode=46)</details>


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