Deployment fails at Form with 'An item with the same key has already been added' message appearing

  • 24 February 2022
  • 0 replies
  • 8 views

Userlevel 5
Badge +20
 

Deployment fails at Form with 'An item with the same key has already been added' message appearing

kbt140066

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
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.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

The following error appears when trying to deploy an updated package from a development environment to a test environment.

 

"An item with the same key has already been added"

Symptoms

The issue was caused by an existing form on the Test environment.

Troubleshooting Steps

To resolve the issue the existing form on the target environment was deleted.

 

Afterwards, a new package was created from the development environment. With the new package created it was deployed on the Test environment successfully.


0 replies

Be the first to reply!

Reply