Encoding Errors Exceed User-Defined Limit Connecting to Statistical File

Published: 10 Mar 2016
Last Modified Date: 21 Jan 2020


When attempting to connect to a statistical file, the user receives the following error:

"The number of encoding errors exceeded the user-defined limit, execution will be stopped"


  • Tableau Desktop
  • Statistical File


The error encoding limit can be manually set using a TDC in Tableau Desktop with the following customization:

<connection-customization class='stat-direct' enabled='true' version='10.5'> 
<vendor name='stat-direct' /> 
<driver name='stat-direct' /> 
<customization name='encoding-error-limit' value='801' /> 


Either characters in some of the records are invalid for the declared encoding, or the character encoding used is unsupported. For example, the Thai encoding TIS-620 does not have an encoding for a space, so any instances of spaces in a column declared as TIS-620 will throw an error. The default limit is 100.
Did this article resolve the issue?