KNOWLEDGE BASE

Error "text File Is Empty" When Connecting To An Empty Text File


Published: 27 Mar 2020
Last Modified Date: 30 Mar 2020

Issue

When connecting to an empty text file, following error occurs.

An error occurred while communicating with the data source
Unable to connect to the file "[emptytest.txt]". Check that the file exists and that you have sufficient access privileges for it.
Error Code: 38348B38
Text file is empty
The table "[TableauTemp].[emptytest#txt]" does not exist.

User-added image
 

Environment

  • Tableau Desktop
  • Text Files

Resolution

Avoid connecting to empty text file from Tableau Desktop.
 

Cause

Tableau Desktop is unable to connect to empty text files by design.

Additional Information

Note: Empty file means there is no content in that file. On Windows, Size on disk is 0 byte if you check the file's property.
Did this article resolve the issue?