1 Reply Latest reply on Mar 29, 2020 4:54 AM by Budi Lubis

    Error in Tableau Prep automation using CMD

    Rutuja Uttarwar

      Hi Everyone,


      With the help https://help.tableau.com/current/prep/en-us/prep_run_commandline.htm this article , I have made two file as follow.


      "C:\Program Files\Tableau\Tableau Prep Builder 2020.1\scripts"\tableau-prep-cli.bat -c "C:\Users\Administrator\Desktop\demo.json" -t "D:\Tableau Prep workflow\trip.tfl"





          "username": "abc",  

          "hostname":"", (this is not correct ip,just for reference)


          "password": "1234"














      After running this script, I am getting the following error



      "C:\Program Files\Tableau\Tableau Prep Builder 20

      20.1\scripts"\tableau-prep-cli.bat -c "C:\Users\Administrator\Desktop\demo.json"

      -t "D:\Tableau Prep workflow\trip.tfl"

      JAVA_HOME is set to : C:\Program Files\Tableau\Tableau Prep Builder 2020.1\scrip

      ts\..\Plugins\jre temporarily

      Preparing to run the flow : D:\Tableau Prep workflow\ttctrip.tfl

      Loading the flow.

      Creating temp directory at C:\Users\ADMINI~1\AppData\Local\Temp\prep-cli-1254084


      Loaded the flow.

      We don't have credentials of all connections in tfl/tflx file. The following connection(s) were not found:





      Why I am getting credential file error.

      Any help appreciated

      Thanks in advance,