When running a flow from the command line, you may encounter the error:
HTTP Status 500 Internal Server Error
Example:
C:\Program Files\Tableau\Tableau Prep Builder 2019.2\scripts>tableau-prep-cli.bat -c "C:\Automatedflow.json" -t "C:\Users\Administrator\Documents\My Tableau Prep Repository\Flows\Example Flow.tfl"
JAVA_HOME is set to : C:\Program Files\Tableau\Tableau Prep Builder 2019.2\scripts\..\Plugins\jre temporarily
Preparing to run the flow : C:\Users\Administrator\Documents\My Tableau Prep Repository\Flows\Example Flow.tfl
Loading the flow.
Creating temp directory at C:\Users\ADMINI~1\AppData\Local\Temp\prep-cli-3711794035998357469
Loaded the flow.
Updated the connections with supplied credentials.
Established input connections to remote connection: example.rds.amazonaws.com
Established input connections with remote data sources.
Signed in successfully as tableauadmin to site Default()
Checking the flow document for errors.
Flow Document has no errors.
Preparing to execute the flow.
<!doctype html><html lang="en"><head><title>HTTP Status 500 Internal Server Error</title><style type="text/css">h1
The error occurs because the version of Tableau Prep Builder is higher than that of Tableau Server.
1. Install Tableau Prep Builder which is the same version as Tableau Server.
2. Open the flow file in Tableau Prep Builder, and save it.
3. Run the flow via CLI.
001472693

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.