Code Fix: An error occurs when you filter data using the K2 SmartObject OData API
Issue Description
When you use the K2 SmartObject OData API to filter data on a SmartObject, an error occurs.
Error Message
The following error occurs: “Unable to retrieve SmartObject. Input string was not in a correct format”.
Resolution
The fix is available in the following K2 versions:
K2 4.7 December 2019 Cumulative Update | K2 Five (5.0) December 2019 Cumulative Update | K2 Five (5.1) November 2018 Cumulative Update | K2 Five (5.2) October 2020 Cumulative Update | K2 Five (5.3) April 2020 Cumulative Update | K2 Five (5.4) |
---|---|---|---|---|---|
X | X | X | Fix Pack 1 | Fix Pack 17 | Fix Pack 18 |
- Ensure you have the correct K2 version and/or Cumulative Update installed. See KB001893 to see what Fix Pack level you have installed.
- Download the latest Fix Pack using the links in the table above for the version you require.
- Install the Fix Pack to apply the fix.