0 Replies Latest reply on Aug 20, 2015 7:54 AM by Philip Reetz

    Problem accessing tableau via wget with Access Token

    Philip Reetz



      I would like to access some dashboards via wget or curl to distribute some reports via bash scripting.

      I used the REST-Api to generate a Auth-Token (Worked fine)

      curl -k --basic "" -X POST -d @signin.xml

      My Response

      <?xml version="1.0" encoding="UTF-8"?>

      <tsResponse xmlns="http://tableausoftware.com/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tableausoftware.com/api http://tableausoftware.com/api/ts-api-2.0.xsd">

        <credentials token="58ec8171ceadb24903890cb11d4e39d6">

          <site id="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" contentUrl=""/>





      I'm now trying to use this Token to access my view using wget. However, I always get some authorization error from tableau

      wget  --no-check-certificate --header "X-Tableau-Auth:58ec8171ceadb24903890cb11d4e39d6" --user=XXX --ask-password ""


      I get the following response

      Reusing existing connection to

      HTTP request sent, awaiting response... 401 Unauthorized

      Unknown authentication scheme.

      Authorization failed.


      Any ideas?