Error "Unable to establish output connection" Publishing Flow to Non-Default Site via Command Line Interface

Published: 23 Aug 2018
Last Modified Date: 10 Sep 2018


When you use the Tableau Prep command line interface to publish to a project not in the default site, the following error occurs, and the publication fails: 
Unable to establish output connection


  • Tableau Prep 2018.2.2
  • Tableau Server


As a workaround:
  1. In Tableau Server, navigate to the Default site. 
  2. Add a project with the same name as the project you want to publish to. 
  3. In Tableau Prep, set the following in the output step of your flow: 
    • Set the site to Default
    • Set the Project to the project you just added 
    • Save
  4. In your credentials.json file, specify the site you want to publish to in "contentURL", then save. 
  5. Run the flow again from the command line interface. 
Did this article resolve the issue?