KNOWLEDGE BASE

Error "No data sources named ... Operation Canceled" When Refreshing Extract with Tabcmd


Published: 04 Jun 2014
Last Modified Date: 05 Oct 2015

Issue

When using tabcmd to refresh a data source extract, the following error might occur:

*** No data sources named '<name>' found.
Operation Canceled

Environment

  • Tableau Server
  • Tabcmd

Resolution

Ensure that the data source exists and that the user has access to this data source.

Perform the following test to confirm that tabcmd functions properly:
  1. Publish a sample extracted data source to the Default project of the Default site on Tableau Server. Name it “Test1234” and make sure to embed database credentials when publishing.
  2. Logout from current tabcmd session with: tabcmd logout.
  3. Run refresh extract command with all necessary parameters in it:
    tabcmd refreshextracts --datasource Test1234 --synchronous -s <server URL> -t "" --project Default -u <user name> -p <password>
Note: The empty double quotes after the -t switch identify the “Default” site and should be preserved. 

Cause

The data source is located in a different Tableau Server site and/or in a different project.
Did this article resolve the issue?