REST: Item has already been added error when deploying

  • 16 February 2021
  • 0 replies
  • 18 views

Userlevel 5
Badge +20
 

REST: "Item has already been added" error when deploying

kbt158057

PRODUCT
K2 Cloud Update 6
BASED ON
K2 Cloud Update 6
TAGS
Deployment
SmartObjects
REST
End User
Designer
Developer
Cloud
Fix Pack
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

An error appears when trying to deploy a 'Company Creation' process with the following message:

"Missing reference at SmartObjectField . Error: Item has already been added. Key in dictionary: Key being added: 'xxxxxx_xxxxx_xxxxxx'. Stack Location : K2Process 'Company Creation' > Stack End."

 

This halts deployment as the error does not go away.

Symptoms

The error occurs within a REST based type SmartObject whereby it has its methods generated via a REST Service instance. 

If the SmartObject gets removed here this appears to work as expected. Furthermore, the issue happens when trying to deploy. Saving the workflow causes no issues.  No errors can be seen when opening the process.

Resolution

The issue has been resolved within FixPack 8 for K2 Cloud Update 6. If you do run into this issue please contact K2 Support for further assistance.

0 replies

Be the first to reply!

Reply