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

Published: 27 Mar 2020
Last Modified Date: 08 Jul 2022


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


  • Tableau Desktop
  • Text Files


Avoid connecting to empty text file from Tableau Desktop.


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?