# Ui Object Repository Validation Error

**URL:** <https://forum.uipath.com/t/ui-object-repository-validation-error/458170>\
**Category:** Studio\
**Tags:** workflow-analyzer, object-repository, studio, uiautomation, activities\
**Created:** [July 20, 2022, 2:12pm UTC](https://forum.uipath.com/t/ui-object-repository-validation-error/458170 "2022-07-20T14:12:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![khordination](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/khordination/32/170273_2.png) [@khordination](https://forum.uipath.com/u/khordination)\
**Post date:** [July 20, 2022, 2:12pm UTC](https://forum.uipath.com/t/ui-object-repository-validation-error/458170/1 "2022-07-20T14:12:08Z")

</div>

Getting an odd error I was hoping to learn more about. We created Object Repository for a website. We then published it as a UI Library. When we tried to publish the project, we get the error from workflow analyzer saying:

Error ERROR UI Object Duplication Error The Element X is a duplicate of Element X defined in Project UI Descriptors

We can make it go away when we remove the UI Library, but I wanted to know why. We built the Object Repo in our project as we went along, so is it embedded in the project as a result? This seems to have an impact on Source Control as well, which is maybe a different subject. Any documentation links or helpful advice would be great. Thanks!

---

<div class="post-metadata">

**Author:** ![Nithinkrishna](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nithinkrishna/32/561519_2.png) [@Nithinkrishna](https://forum.uipath.com/u/Nithinkrishna)\
**Post date:** [July 20, 2022, 4:58pm UTC](https://forum.uipath.com/t/ui-object-repository-validation-error/458170/2 "2022-07-20T16:58:39Z")

</div>

> [@khordination](#):
>
> When we tried to publish the project,

I’m sorry unable to get this point. Kindly explain

---

<div class="post-metadata">

**Author:** ![khordination](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/khordination/32/170273_2.png) [@khordination](https://forum.uipath.com/u/khordination)\
**Post date:** [July 20, 2022, 5:19pm UTC](https://forum.uipath.com/t/ui-object-repository-validation-error/458170/3 "2022-07-20T17:19:32Z")

</div>

> [@Nithinkrishna](#):
>
> sorry unable to get this point. Kindly explain

 ![image](https://global.discourse-cdn.com/uipath/original/4X/c/f/a/cfaaa94753e9f18fc182dde1de5a37f284f04084.png)  
can’t share details but this is the error example. The state is this: we have UI Library derived from the Object Repository and also the Object Repository itself in the same project. Why is it erroring out? link to documentation: [Studio - About Object Repository](https://docs.uipath.com/studio/docs/about-object-repository#reusability)

---

<div class="post-metadata">

**Author:** ![Rahul\_Unnikrishnan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/rahul_unnikrishnan/32/464046_2.png) [@Rahul\_Unnikrishnan](https://forum.uipath.com/u/Rahul_Unnikrishnan)\
**Post date:** [July 20, 2022, 5:49pm UTC](https://forum.uipath.com/t/ui-object-repository-validation-error/458170/4 "2022-07-20T17:49:20Z")

</div>

Hello @khordination

Can you refer to the below post. Alos can you try creating a new project and create a repository for any few elements and try to package it. This is to cross check whether the issue is happening for all the projects.

> [@Copying Object repository to another project](https://forum.uipath.com/t/copying-object-repository-to-another-project/330106):
>
> Hi All, How can we copy-paste an object repository from one Workflow/process to the other? Thanks

---

<div class="post-metadata">

**Author:** ![khordination](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/khordination/32/170273_2.png) [@khordination](https://forum.uipath.com/u/khordination)\
**Post date:** [July 20, 2022, 6:15pm UTC](https://forum.uipath.com/t/ui-object-repository-validation-error/458170/5 "2022-07-20T18:15:11Z")

</div>

Thank you Rahul, this post helped me find the relevant documentation to answer my question: [Reusing Objects and UI Libraries](https://docs.uipath.com/studio/docs/reusing-objects-ui-libraries)

---

<div class="post-metadata">

**Author:** ![Nithinkrishna](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nithinkrishna/32/561519_2.png) [@Nithinkrishna](https://forum.uipath.com/u/Nithinkrishna)\
**Post date:** [July 21, 2022, 5:00am UTC](https://forum.uipath.com/t/ui-object-repository-validation-error/458170/6 "2022-07-21T05:00:29Z")

</div>

You may not keep both in one, Either keep UiLibrary installed as dependency in your project or the Repo directly itself.

Hope this helps.

Thanks  
#nK

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [August 1, 2022, 5:24pm UTC](https://forum.uipath.com/t/ui-object-repository-validation-error/458170/7 "2022-08-01T17:24:30Z")

</div>

Closed on August 1, 2022, 5:24pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
