Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
maolivas opened this issue Jan 7, 2025 · 1 comment · Fixed by #328
Labels
bug Something isn't working

Comments

@maolivas
Copy link

maolivas commented Jan 7, 2025

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@url.com
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

@jacalata
Copy link
Contributor

jacalata commented Jan 7, 2025

I'll release a fix for this very soon.

@jacalata jacalata added the bug Something isn't working label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants