I am trying to publish to Tableau Server, and the documentation uses username/password, but we have SSO authentication.
I have created an API token on our server and put this in the Publish to Tableau Server node, but it keeps telling me “invalid authentication credentials provided”.
How exactly did you generate the “API token”? Did you generate a “Personal Access Token” as described here? The “Send to Tableau Server” node does not support these kind of “Personal Access Tokens” yet.
The “Authentication Token” lets you configure a token that is directly used to make the API calls.
Hi, @bwilhelm , if Knime doesn’t support the Tableau Server Personal Access Tokens yet, how can I create a Tableau server token that Knime does support?
Hi @mkeller,
Welcome to the KNIME Forum! Some Tableau Users have special authentication setups where they get this token (and authentication via username and password is not possible). Please use the username and password authentication if this is possible for you.
Optaining the token manually is a bit more involved. You would need to make REST calls to the Tableau server using your “Personal Access Token” to get a response with the “Authentication Token” as described here. Please let me know if you need to do this and I will lookup the details and help you to set it up.
We do not support OpenID Connect in the Tableau nodes yet.
However, the error that you got indicates that the SSL certificate of the Tableau Server could not be verified. Please see this post: Send to Tableau server node error.
Thanks, we’ve resolved that error by importing the cert and now I am getting the following error:
org.knime.ext.tableau.hyperapi.sendtable.api.RestApiConnection$TsResponseException: Signin Error: Error signing in to Tableau Server (Error code: 401001).
The credentials (name or password, or personal access token name or secret) are invalid for the specified site, or the site content URL is invalid.
I can imagine that this error code is always returned by the Tableau server if a sign-in is requested and OpenID Connect is configured. Sadly, I cannot verify this quickly because we have no Tableau Server with OpenID Connect available right now.
If you don’t use OpenID Connect, check your username, password and site content URL.