Extract Refresh for Workbook Fails with "No Tableau Server user found" After Publishing with Tabcmd
Published: 07 Dec 2016
Last Modified Date: 29 Jun 2017
IssueAfter publishing a workbook containing published data sources with Tabcmd, the following error may occur when performing an extract refresh:
com.tableausoftware.nativeapi.dll.DataSourceException: No Tableau Server user found.
Unable to connect to the server "<hostname or IP address>". Check that the server is running and that you have access privileges to the requested database.
ResolutionWhen publishing with tabcmd, ensure the username and password of the tableau server user is passed and saved on the tabcmd command by using the "--save-db-password" flag.
tabcmd publish <path to workbook\workbookname> -n "workbookpublishname -r "projectname" --db-user "tableauserveruser" --db-password "userpassword" --save-db-password -o
CauseThe workbook publisher's permission to access the published data sources was not saved during the publish operation.