Tableau Scope Activity Error

Hi Everyone. I am trying to use tableau scope activity and able to successfully TEST the connection. But I am getting this error from the Tableau Scope Block.


Hello @hanandan!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly

Hi @hanandan

Could you please provide some more information about the way you have configured the activity / your process?

Hi @loginerror Thanks for the response. Please find it below

Inside the config
The site id and view id are the ones I striked in red below

others like password and username looks right. Please let me know

Hu @paul.hoeffer I face an error from the tableau application scope activity. Though the connection is successful. I get the below error

Any help is appreciated.

Hi - either @robert.wagner or @Subrahmanyan_Sankaran can assist.

1 Like

@hanandan maybe you receive an unexpected response due to wrong connection resource?

1 Like

Hi @robert.wagner thanks for those screenshots. Looks like the connection resource that I use is correct. Before I used to get the tableau scope activity Block’s output (Connection) of Design connection as input for Robot connection by selecting existing connection and corresponding O/p name.

So, this time I tried to change based on the screenshot by again giving the credentials for Robot connection same as Design connection. However I am not able to use the same password as I gave for Design Connection. My password has ‘@’ in it and the field doesn’t accept inspite of the same password getting accepted for Design connection.

So you can connect successfully in connection configure window but not when you run the robot, correct?

Are you using a secure password? It should not matter if there is an “@” in it or not.

You can use this string to create a secure Password:
new System.Net.NetworkCredential("", “passw0rd”).SecurePassword

@robert.wagner Yes exactly

I do not have a password for Robot connection in the right since it is not accepting. But i will try with your suggestion and get back

Hi @robert.wagner this time it throwed a different error

Please let me know if that was the right way to create secure string.

Please make use of variables:

Hi @robert.wagner I tried using the variables. but getting the same error as previous one.

Again the connection is successful. So regarding the

new System.Net.NetworkCredential("", “passw0rd”).SecurePassword

I believe I need to replace “passw0rd” with my actual password right. Please correct me if i were wrong. Aslo, for Design connection credentials I entered them as how they are (not variables i.e., ctrl +k ). Also for Robot Connection is it just the passowrd and username we need to enter as variables or everything (Sitename, TableauServerURL). Please advice

Yes you need to insert your password and replace “passw0rd”.

There is multiple ways to deal with credentials and I would like to recommend to get familiar with this:
This is my preferred approach to deal with credentials.

But I also found this in forum which might will help:

Hi @robert.wagner Thanks I will go through. Also, can you please let me know about declaring other information like (Sitename, TableauServerURL) for robot connection part. Do they need to be declared as variables too?.
One more thing I realized is that i do not have UI path Robot installed yet. Since we use Robot connection here am not sure if that is causing an issue. Please advice

I’ve merged the discussion into one separate topic.

1 Like

There is no need to make for instance Sitename variable. You can if you want but it works also as shown in the screens.

@One more thing I realized is that i do not have UI path Robot installed yet. Since we use Robot connection here am not sure if that is causing an issue. Please advice

I assume you mean Orchestrator? If so, yes this is an Orchestrator feature.
You cannot use this feature if you do not have an Orchestrator set up.

You will have to go with secure passwords created in studio:
new System.Net.NetworkCredential("", “yourpassword”).SecurePassword

1 Like

Hi @robert.wagner I was able to fix the error from tableau scope activity. I missed the quotes (“xxx”) in the username part of my ROBOT CONNECTION. Thanks for the support.

However I am trying to get the whole underlying data from my view and not just the summary data. But when using the download cross tab data activity the downloaded .xlsx file shows an error when opening. it says the file may be corrupt or similar. Any thoughts on why this is happening.