To resolve the Tableau integration error "401001: Signin Error. The personal access token you provided is invalid" if you are using a connection with a Personal Access Token (PAT), follow the steps below:
For a New Integration
When creating a new Tableau PAT integration, verify that you are using a valid Personal Access Token (PAT) with the appropriate permissions. Use the CLI to add Tableau per our docs. The command should be formatted as follows:
montecarlo integrations add-tableau --server-name <server_url> --site-name <site> --token-name <token_name> --token-value <token_value>
Note: you can specify a blank site name in the CLI using the following syntax: --site-name ''
For an Existing Integration
If the error occurs with an existing integration, you need to update the PAT for the Tableau integration using the Monte Carlo CLI. Use the following command:
montecarlo integrations update --connection-id <tableau_connection_uuid> --changes '{"token-name": "<name>", "token-value": "<value>"}'
You can get the tableau_connection_uuid via the API (getUser), as shown in this guide.
Note that we offer a newer method to connect to Tableau via Connected Apps. This method simplifies management by allowing you to test the connection and update credentials directly through the UI. Please note that this approach is compatible only with Tableau server versions >= v2023.3, and the Tableau Warn feature is not available with this method. For more details, visit our Tableau documentation.
Comments
0 comments
Please sign in to leave a comment.