-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Here is the command I was using to test:
tabcmd publish workbook.twbx --no-certcheck --tabbed -r "project" -o -s https://10ay.online.tableau.com -t "url" --token-name "TokenName" --token-value "xxxxxxxxxxxxxxxxxxxxxx"
then got this error:
Tabcmd 2.0.15
===== Server: https://10ay.online.tableau.com
===== Token Name: TokenName
Tableau Server Site: url
Connecting to the server...
versions: 3.24, 2.4
Signed into https://10ay.online.tableau.com as user with id XXXXXXXXXXXXXXXXXXXXXXX
Querying single user (ID: XXXXXXXXXXXXXX)
Fetched user details from server
Succeeded
Querying all projects on site
Publishing 'e:\Tableau\twbx\workbook.twbx' to the server. This could take several minutes...
publish() got an unexpected keyword argument 'connection_credentials'
Traceback (most recent call last):
File "tabcmd\commands\datasources_and_workbooks\publish_command.py", line 75, in run_command
File "tableauserverclient\server\endpoint\endpoint.py", line 274, in wrapper
File "tableauserverclient\server\endpoint\endpoint.py", line 316, in wrapper
File "tableauserverclient\server\endpoint\endpoint.py", line 316, in wrapper
TypeError: publish() got an unexpected keyword argument 'connection_credentials'
Exiting...
When I went back to version 2.11 it worked.
Creating new session
===== Server: https://10ay.online.tableau.com
===== Username: [email protected]
Tableau Server Site: url
Connecting to the server...
Signed into https://10ay.online.tableau.com as user with id XXXXXXX
Succeeded
Querying all projects on site
Publishing as Overwrite
Publishing ''e:\Tableau\twbx\Workbook.twbx'' to the server. This could take several minutes...
Publishing Workbook.twbx to server
Published Workbook (ID: XXXXXXX)
File successfully published to the server at the following location:
https://10ay.online.tableau.com/#/site/url/workbooks/XXXXXX