1 of 1 people found this helpful
This error typically occurs when the file either contains characters that are invalid for the declared encoding or the character encoding that is used in the file is unsupported. It may be possible to work around the error by modifying the error encoding limit using a tableau data connection (.tdc) file in Tableau Desktop.
The .tdc file should contain information similar to the below, dependent on what version of Tableau you're using. For my example, I used 10.0 and referenced
<connection-customization class='stat-direct' enabled='true' version='10.0'>
<vendor name='stat-direct' />
<driver name='stat-direct' />
<customization name='encoding-error-limit' value='801' />
And then to create the .tdc file locally, use the below instructions:
- Open a plain text editor, such as Notepad.
- Copy the information from the sample provided above and modify version to match your current version of Tableau Desktop
- Save the file with a .tdc extension—for example, r-statsfile.tdc—and place in the My Tableau Repository\Datasources folder.
- Close out all Tableau Desktop sessions and restart the application to apply the changes.
If that doesn't resolve the error, I recommend opening a case with Support and send clean Tableau Desktop logs so they can research what is causing the error when you connect live.