Search code examples
tableau-apitabpy

TabPy Server configuration error when running flow from command line


I have a tableau prep flow which uses python script. When i run the flow from tableau prep, it works. However, i am using command line alongside task scheduler to automate the flow. When running the automated flow; i am encountering the error below: enter image description here

I have already configured the connection to tabpy in the tableau prep itself. Previously this used to work. But i am now getting this error. Should the TabPy configuration be added to the json file used for credentials? if so, in what format should it be?

enter image description here


Solution

  • Got it to work. Just had to include the following command in the json file: enter image description here