6 Replies Latest reply on Apr 27, 2018 8:49 AM by Rex Walters Branched from an earlier discussion.

    Re: Question about using REST API to kick off an extract refresh

    Rex Walters

      I have the API extractRefreshes runNow working, but I am not able to query the job. I get error message Resource Not Found.

      Below is the Results from the extractRefreshes

       

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

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

          <job id="e353ba7c-d0c5-45bf-8598-f62d6f26db8f" mode="Asynchronous" type="RefreshExtract" />

      </tsResponse>

       

      API call for job query:

      http://tableau/api/2.6/sites/b80e3c69-7384-48b3-961b-897d38c317e9/jobs/e353ba7c-d0c5-45bf-8598-f62d6f26db8f

       

      Results from job query

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

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

          <error code="404018">

              <summary>Resource Not Found</summary>

              <detail>Job 'e353ba7c-d0c5-45bf-8598-f62d6f26db8f' was not found.</detail>

          </error>

      </tsResponse>

       

      Thanks for any help.