Error "EncodeString: bad argument" Connecting to SAS File
Published: 12 Oct 2016
Last Modified Date: 14 Oct 2016
IssueWhen attempting to open a workbook connected to live SAS file in Tableau Desktop, the following error message occurs:
"An error occurred while communicating with the data source" EncodeString: bad argument. Unable to properly calculate the domain for the field '<Field Name'. Displayed data may be incorrect.
- Tableau Desktop 10.0.0
- SAS file
ResolutionClear out the Tableau cache folder.
This folder is typically located at C:\Users\<username>\AppData\Local\Tableau\Caching
See more about clearing the Tableau Desktop cache here: Clear the Tableau Desktop Cache.
CauseThe Tableau Desktop cache contained outdated information about the SAS file.