An error is encountered when trying to activate Odata API

  • 15 February 2022
  • 0 replies
  • 15 views

Userlevel 5
Badge +20
 

An error is encountered when trying to activate Odata API

kbt163298

PRODUCT
K2 Five 5.2
BASED ON
K2 Five 5.2
TAGS
K2 API
K2 Services
OData API
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

You receive an error when attempting to activate Odata API.

Symptoms

The following error is displayed:
 

Could not refresh services, try again?

Image

Troubleshooting Steps

Execute the following SQL select statement against your K2 database to check for duplicate SmartObjects:

 

SELECT [SmartObjectGUID] ,[Version] ,COUNT(*) AS [DuplicatesCount]

FROM [SmartBroker].[SmartObject]

GROUP BY [SmartObjectGUID] ,[Version]

HAVING COUNT(*) > 1

 

If there are duplicates, please log a support ticket. 


0 replies

Be the first to reply!

Reply