When Test Connection is clicked in the Tableau Application Scope, error displayed" 401001: Signin Error: Error signing in to Tableau Server" is observed. How can this be resolved?
ISSUE DESCRIPTION:
When Test Connection is clicked in the Tableau Application Scope, the user receives an error displayed "401001: Signin Error: Error signing in to Tableau Server".
RESOLUTION:
Upgrade to the latest version of UiPath.Tableau.Activites, and make sure to specify authentication info for both Design and Robot Connection on the Configure screen, then click Test Connection.
If the same error is received, reach the Tableau Admin and confirm each value used in the Connection screen.
- Auth Type - Basic Authentication (Username and Password); see Tableau - Setup for more details on supported authentication methods. Single Sign-on is not supported
- Username - Tableau username
- Password - Tableau password.
- Api Version - E.g. 3.18 in this URL http://tableau-server/api/3.18/auth/signin
- Site Name - E.g. site-id in this URL https://tableau-server/api/3.18/sites/site-id/workbooks/workbook-id
- Sometimes the /sites/site-id/ section of the URL is missing, especially in production URLs. Tableau Administrators can configure the server URL, so it won't display it. When this is the case, contact the Tableau Administrator for the Site ID.
- Sometimes it is found "?:iid=[value]" at the very end of the report URL that doesn't have /sites/site-id/ (E.g. https://your-server/#/views/AllCrosstabReports/YourCrosstabReport?:iid=[value]). Use value as Site Name and Test Connection.
- The site-id can be derived by installing Postman and running an HTTP POST request using the Tableau Sign-in API here.
- The Site ID will be found in the Response body. If it is a very long hash code (E.g. f82550f9-e799-44fa-acaa-2caa2ec16904), it should not be used for the field Site Name, it will just throw a different error. Contact the Tableau Administrator to request the Site ID that should be used. What is provided, should be used in Site Name.
- Tableau Server URL - https://tableau-server/
The main cause for this issue is invalid/incorrect values are provided in the API call.