KNOWLEDGE BASE

Error "Unrecognized Field databaseConnections" When Running a Flow File From the Command Line


Published: 15 Feb 2022
Last Modified Date: 15 Feb 2022

Issue

When running a Flow file from a Tableau Prep command line interface (CLI), an error may occur:
 
Unrecognized field "databaseConnections"

Environment

  • Tableau Prep Builder 2021.1 or higher
  • Windows 10

Cause

Invalid parameter names and values are included in the credentials.json file.

For example, "Role" and "Warehouse" shown below are invalid parameters according to the document Refresh flow output files from the command line.
 
 "databaseConnections":[
   {
    "hostname":"example123.snowflakecomputing.com",
    "username":"jsmith",
    "password":"p@s$w0rd!",
    "role":"test_role",
    "warehouse":"test_wh"    
   }
Did this article resolve the issue?