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.

      -demo.batch

      "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"

      -demo.json

      {

      "inputConnections":[

        {

          "username": "abc",  

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

          "port":300015,

          "password": "1234"

        }

      ],

      "outputConnections":[

        {

          "serverUrl":"http://23.23.1.31",

          "contentUrl":"http://23.23.1.31",

          "username":"abc",

          "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

      346305577652

      Loaded the flow.

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

       

       

       

       

      Why I am getting credential file error.

      Any help appreciated

      Thanks in advance,