2 Replies Latest reply on Oct 11, 2017 1:26 AM by Prashanth Shenoy

    Get Extract Refresh Task/ Run Extract Refresh Task API Error

    Prashanth Shenoy

      Hi Friends,

       

      I am having some trouble calling the Get Extract Refresh Task/ Run Extract Refresh Task API. I am outlining the steps taken to call one of then - the Get Extract Refresh Task.

       

      Signed into our server and then I am calling the Get Extract Refresh Task API, using curl command as below. I encounter the error as mentioned below. I checked the repository to confirm that the refresh task does exist in the 'tasks' table.

       

      I am not able to understand if I am making any mistake here. The error code is not one of the listed error codes for this API.

       

      Could any of you please help me on this? Thank you...

       

      curl "https://servername/api/2.5/sites/901c6854-bn00-492d-kl01-cb650f77236b/tasks/extractRefreshes/65c80942-8851-4888-9ikl-231825g89609" -X GET -H X-Tableau-Auth:MQi8jPKPEdHmV0I7ckTM4xDg6CEvG2wK

       

       

      <?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.5.xsd"><error code="404003"><summary>Resource Not Found</summary><detail>Unknown resource '/2.5/sites/901c6854-bn00-492d-kl01-cb650f77236b/tasks/extractRefreshes/65c80942-8851-4888-9ikl-231825g89609' specified in URI.</detail></error></tsResponse> 

       

       

      PS: I have made some change to the token and the site and task luid when I pasted here.