Code Fix: An error is logged when you execute the REST Service via a SmartObject
KB003353
PRODUCT
Issue Description
An error is logged when you execute the REST Service via a SmartObject and a timeout occurs after 100 seconds.
Error Message
The following error is logged in the K2 HostServer log file: “Input string was not in a correct format”.
Resolution
The fix is available in the following K2 versions:
K2 4.7 March 2018 Cumulative Update | K2 Five (5.0) September 2018 Cumulative Update | K2 Five (5.1) November 2018 Cumulative Update | K2 Five (5.2) May 2019 Cumulative Update | K2 Five (5.3) |
---|---|---|---|---|
X | X | X | X | Fix Pack 19 |
- 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.
Considerations
You will now be able to set a timeout value for the REST Service Instance. When you configure or add the Service Instance in K2 Management, a ServiceKey setting named TimeOut (Seconds) is now available. This is a required ServiceKey.