# Multiple ids for a single ident

**URL:** <https://forum.datomic.com/t/multiple-ids-for-a-single-ident/1488>\
**Category:** Troubleshooting\
**Created:** [June 12, 2020, 8:04pm UTC](https://forum.datomic.com/t/multiple-ids-for-a-single-ident/1488 "2020-06-12T20:04:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![m0smithtb](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@m0smithtb](https://forum.datomic.com/u/m0smithtb)\
**Post date:** [June 12, 2020, 8:04pm UTC](https://forum.datomic.com/t/multiple-ids-for-a-single-ident/1488/1 "2020-06-12T20:04:48Z")

</div>

We have an ident we are using as a value for an enum. We currently have 3 ids for this ident which is causing problems.

[[#:db{:id 37638482311682082, :ident :transaction.disposition/income}]]  
[[#:db{:id 37638482312699483, :ident :transaction.disposition/income}]]  
[[#:db{:id 37638482320626477, :ident :transaction.disposition/income}]]

First, I didn’t think this was possible.

Second, how do I fix it?

---

<div class="post-metadata">

**Author:** ![m0smithtb](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@m0smithtb](https://forum.datomic.com/u/m0smithtb)\
**Post date:** [June 17, 2020, 8:20pm UTC](https://forum.datomic.com/t/multiple-ids-for-a-single-ident/1488/2 "2020-06-17T20:20:57Z")

</div>

Turns out to be self inflicted.

We had the ref to the enum have isComponent true. this meant when on of them was retracted, they all were. Then the next assertion created a new id for the same ident.
