# Duplicate key exception

**URL:** <https://community.crossref.org/t/duplicate-key-exception/12814>\
**Category:** XML Deposit\
**Tags:** content-registration, deposit\_support, submission\_log\
**Created:** [16 December 2024 18:06 UTC](https://community.crossref.org/t/duplicate-key-exception/12814 "2024-12-16T18:06:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mklem](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@mklem](https://community.crossref.org/u/mklem)\
**Post date:** [16 December 2024 18:06 UTC](https://community.crossref.org/t/duplicate-key-exception/12814/1 "2024-12-16T18:06:04Z")

</div>

I received this error from Crossref email:

```auto
"batch_id": "apsxref:7a3dd694-be53-433d-bffb-02fc9caf43b5",
    "doi": "10.1103/PhysRevD.110.114025",
    "msg": "Duplicate key exception",
    "submission_id": "1661159289"

```

I can’t find anything specific on the Crossref domain that explains this error, but I get the impression that this error is just letting us know that this DOI was resubmitted. Can you provide some insight into what the duplicate key was? I assume that we are submitting XML multiple times and this error is letting us know that.

---

<div class="post-metadata">

**Author:** ![ifarley](https://sea2.discourse-cdn.com/flex020/user_avatar/community.crossref.org/ifarley/32/44_2.png) [@ifarley](https://community.crossref.org/u/ifarley)\
**Post date:** [16 December 2024 18:28 UTC](https://community.crossref.org/t/duplicate-key-exception/12814/2 "2024-12-16T18:28:01Z")

</div>

Hello @mklem ,

Thanks for flagging that error to us. We thought we fixed this last month. I have simply rerun submission 1661159289 and that cleared things up. I have flagged this error back to our technical team so they can investigate the underlying cause. If you see this error again, please do let me know.

 ![Screenshot 2024-12-16 at 12.27.30 PM](https://us1.discourse-cdn.com/flex020/uploads/crossref/original/2X/e/e6c55c32b9842a2d86022d1d152bc2a3aeca654c.png)

-Isaac

---

<div class="post-metadata">

**Author:** ![mklem](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@mklem](https://community.crossref.org/u/mklem)\
**Post date:** [20 December 2024 17:03 UTC](https://community.crossref.org/t/duplicate-key-exception/12814/3 "2024-12-20T17:03:46Z")

</div>

Hi Isaac,

Received two of these errors this morning.

{“batch\_id”:“apsxref:7e4cdc1e-a2e1-4f07-a60f-3861ac7dbd48”,“doi”:“10.1103/PhysRevB.110.235146”,“msg”:“Duplicate key exception”,“submission\_id”:“1661916663”}

{“batch\_id”:“apsxref:28768b4a-7755-4579-91d9-3ae8c777b690”,“doi”:“10.1103/PhysRevFluids.9.124802”,“msg”:“Duplicate key exception”,“submission\_id”:“1661916295”}

Do you need to know about these errors?  
Can I just resubmit the xml when I receive this error?

Thank you

---

<div class="post-metadata">

**Author:** ![ifarley](https://sea2.discourse-cdn.com/flex020/user_avatar/community.crossref.org/ifarley/32/44_2.png) [@ifarley](https://community.crossref.org/u/ifarley)\
**Post date:** [24 January 2025 22:16 UTC](https://community.crossref.org/t/duplicate-key-exception/12814/5 "2025-01-24T22:16:08Z")

</div>

Sorry for my slow response on this. Yes, you can simply resubmit these errors when you see them. We think this is related to the fact that we’re processing submissions more quickly on our new database setup. As a result, that may be why we’re seeing more examples of this error. Yes, please do flag additional examples to us @mklem .

-Isaac
