< class="prominent-subhead ">

Activating K2 APIs in K2 Management not working as expected

This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.


Please note that this article is applicable to K2 5.1 and newer. For the configuration required in K2 5.0, please see the following article: http://help.k2.com/support-services/kbt142686

When activating the SmartObject OData API or the Workflow REST API using the K2 Management page, the User Interface shows that it is active. But when navigating to the respective OData URL or Workflow API URLs, the following messages are displayed:

{"Message":"The OData Service for SmartObjects in K2 has been disabled, please use K2 Management to enable it."}


{"Message": "The Workflow API in K2 has been disabled, please use K2 Management to enable it."}


The SmartObject OData API or the Workflow REST API  appears to be activated, but does not function as expected.


For the K2 APIs to be activated successfully, the K2 Service Account and SmartForms Runtime Site - Application Pool Account needs to be given Admin rights in K2 Management > Workflow Server > Server Rights.


After adding the permission, the K2 APIs needs to be Disabled, the changes applied and then Enabled once again.