Error "EncodeReal: bad argument" Refreshing Salesforce Extract

Published: 11 Nov 2013
Last Modified Date: 26 Mar 2018


When refreshing a Saleforce extract, the following error might occur:
An error occurred while communicating with the data source.
EncodeReal: bad argument


  • Tableau Desktop
  • data source


This error occurs when the data type of a column in the underlying data does not match the data type for that same column in the extract.

Additional Information

The affected column as well as the expected and current data types can be found from reviewing the Tableau Desktop log files:
ERROR encoding: Expected <data type1>, have <data type2>
ERROR encoding column: $ <column name>
Did this article resolve the issue?