KNOWLEDGE BASE

Error "The directory is missing or has been moved" When Refreshing Text Extract


Published: 25 Feb 2021
Last Modified Date: 25 Feb 2021

Issue

When refreshing an extract of a text file in Tableau Server, the following error may occur:

com.tableausoftware.nativeapi.exceptions.DataSourceException: The directory is missing or has been moved

Environment

  • Tableau Server
  • Text Files

Resolution

Option 1

Using a live connection, instead of an extract of the text file, and select 'Include External Files' when publishing the data source or the workbook.

Option 2

If the text file is in a shared network location and the data is updated frequently, and you would like Tableau Server to be able to connect to the file in that location, refer to the following documents for the steps to set this up:

Cause

Tableau Server is unable to locate the file using the file path saved in the workbook or data source.
Did this article resolve the issue?