KNOWLEDGE BASE

Error "EncodeReal: bad argument" Refreshing Salesforce Extract


Published: 11 Nov 2013
Last Modified Date: 03 Nov 2015

Issue

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

Environment

  • Tableau Desktop
  • Salesforce.com data source

Cause

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?