Skip to content

trying to publish to tableau cloud. get error "publish() got an unexpected keyword argument 'connection_credentials'" #326

@maolivas

Description

@maolivas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions