KNOWLEDGE BASE

Http 500/404 error occurs upon publishing data source to Tableau Server


Published: 10 Sep 2019
Last Modified Date: 24 Jan 2022

Issue

When attempting to publish a data source from Tableau Prep Builder 2019.2.x to Tableau Server 2019.1.x from command line, an HTTP 500/404 error occurs and the flow is not published.
The error also may appear when attempting to publish directly from Tableau Prep Builder.
 

Environment

  • Tableau Prep Builder 2019.2.2
  • CLI

Resolution

Possible workarounds include:

Option 1

Publish from Tableau Prep Builder instead of from the Command Line

Option 2

Downgrade Tableau Prep Builder from 2019.2.x to 2019.1.x

Cause

There may be an incompatibility between the REST API versions with the Tableau Prep Builder and Tableau Server releases in use.

Additional Information

The error in the Tableau Prep Builder log files (or in Alerts in the upper right of the interface) looks like below:
"[<date time line number>]  89246 [main] p: ERROR com.tableau.tprep.cli.app.CliMain - <!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1><hr class="line" /><p><b>Type</b> Exception Report</p><p><b>Message</b> Request processing failed; nested exception is org.springframework.web.client.HttpClientErrorException: 404 NOT_FOUND</p><p><b>Description</b> The server encountered an unexpected condition that prevented it from fulfilling the request.</p><p><b>Exception</b></p><pre>org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.web.client.HttpClientErrorException: 404 NOT_FOUND" occurs.
Did this article resolve the issue?