KNOWLEDGE BASE

Error 'http Status 500 Internal Server Error' Upon Running The Flow Via Tableau Prep Command Line


Published: 07 Jul 2020
Last Modified Date: 08 Jul 2020

Issue

Upon running a flow from the command line, error 'HTTP Status 500 Internal Server Error' occurs.

Environment

  • Tableau Prep Builder 2019.2.0

Resolution

1. Install Tableau Prep Builder 2019.1.2 which is the same version as Tableau Server.
2. Open the flow file in Tableau Prep Builder 2019.1.2, and save it.
3. Run the command.
 

Cause

Tableau Prep Builder version is higher than Tableau Server.
The error might occur with other versions of Tableau Prep Builder when the version is newer than the Tableau Server installed. Make sure you use the same version of Tableau Prep Builder as Tableau Server.

Additional Information

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\Staging_MSME18032020 New Data.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\Staging_MSME18032020 New Data.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: prod-sidbi.cmfy4dp1cezg.ap-south-1.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 
Did this article resolve the issue?