Error "Failed to get data: An error occurred while converting the varchar value to JDBC data type INTEGER."
book
Article ID: KB0077844
calendar_today
Updated On:
Products
Versions
Spotfire Analyst
All Versions
Description
When executing or fetching data from an Information Link, the following error may occur.
ERROR 2017-06-02T12:37:05,276+0530 [1, #25, #381] api.common.InformationModelServiceCommon: Failed to get data: An error occurred while converting the varchar value to JDBC data type INTEGER. com.spotfire.ws.api.common.InformationModelWebServiceException: Failed to get data: An error occurred while converting the varchar value to JDBC data type INTEGER. at com.spotfire.ws.api.common.InformationModelServiceCommon.wrapException(InformationModelServiceCommon.java:654) at com.spotfire.ws.api.common.InformationModelServiceCommon.wrapException(InformationModelServiceCommon.java:582) at com.spotfire.ws.api.query.QueryManagerService.getDataBlockFromDAT(QueryManagerService.java:1149)
Issue/Introduction
Error when executing or fetching data from an information link,
Resolution
The above exception may be encountered if the order of the Information Link elements as specified in the Information Designer and the SQL query are not consistent. To resolve this, compare "Original SQL" and "Modified SQL" in the Edit SQL dialog and check for sequence of column elements. Make sure that the sequence of column elements is same. Or try to click "Reset to Original" on the Edit SQL window if there is nothing modified in the WHERE clause of SQL.