< class="prominent-subhead ">

"An item with the same key has already been added" appears when attempting to edit a view/form

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


When attempting to edit a View or a Form from the artifact page, you receive a "An item with the same key has already been added" error.

If another user attempts to check out said form, they encounter an error stating that the original user has it checked out even though the object appears already checked in.


Check the [Form].[Form_Design] and the [Form].[Form] table to see if the View or Form in question is checked out to the user. See if there is a mismatch, such as it being checked out in [Form].[Form_Design] but checked in in the [Form].[Form] table.

Troubleshooting Steps

If there is a mismatch, you will need to force check in the View or Form with the issue.

Contact Support to get assitance in receiving a script (K2 BlackPearl) or to get Support to modify your database (K2 Appit).