Error when accessing the SmartObject OData API via K2 Management
kbt162102
PRODUCTIssue
When trying to access the SmartObject OData API via K2 Management the below error appears:
"The SmartObject com_K2_API_SmartObject_Settings or one of its components could not be resolved. Error Details: SmartObject [c17d34ea-3368-47df-9b41-bde996e08ca3] could not be found."
Symptoms
This is caused due to a missing SYSTEM SmartObject that is not present in the K2 Environment.
The Categories are System > K2 Management > APIs > SmartObjects where you will see the missing SmartObject.
Resolution
To correct this you will need to navigate to the installation directory of K2 (C:Program FilesK2Setup) and search for the K2_APIs.kspx package and deploy this solution again.
After this is deployed you will be able to access the SmartObject OData API as expected.