Activating K2 APIs on K2 Management not working as expected

  • 16 February 2021
  • 0 replies
  • 85 views

Userlevel 5
Badge +20
 

Activating K2 APIs in K2 Management not working as expected

kbt167342

PRODUCT
K2 Five 5.1 to 5.3
BASED ON
K2 Five 5.3
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.

Issue

 

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."}

 

 

or

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

 

 

Symptoms

 

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

Resolution

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.

Image

 

 

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

 

 


0 replies

Be the first to reply!

Reply