# TypeError: publications\[pubDoi\] is undefined

**URL:** <https://community.crossref.org/t/typeerror-publications-pubdoi-is-undefined/1355>\
**Category:** Metadata Manager (deprecated)\
**Tags:** metadata\_manager\
**Created:** [25 June 2020 16:57 UTC](https://community.crossref.org/t/typeerror-publications-pubdoi-is-undefined/1355 "2020-06-25T16:57:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![isabelruiz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.crossref.org/isabelruiz/32/224_2.png) [@isabelruiz](https://community.crossref.org/u/isabelruiz)\
**Post date:** [25 June 2020 16:57 UTC](https://community.crossref.org/t/typeerror-publications-pubdoi-is-undefined/1355/1 "2020-06-25T16:57:00Z")

</div>

Hi all!  
I have this message when I deposit articles (included in a issue): TypeError: publications[pubDoi] is undefined.  
Can anyone help me? I don’t know where is the mistake… This is my first time using metadata manager. Thanks!

---

<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:** [25 June 2020 20:02 UTC](https://community.crossref.org/t/typeerror-publications-pubdoi-is-undefined/1355/2 "2020-06-25T20:02:28Z")

</div>

Hi @isabelruiz! Welcome to the community forum.

I’d like to take a closer look at your account. Can you share with me your username or DOI prefix so I can take a closer look. There are a couple of underlying causes of this TypeError - some I can fix and others require the intervention of our technical team.

Looking forward to more details,  
Isaac

---

<div class="post-metadata">

**Author:** ![Anjum](https://sea2.discourse-cdn.com/flex020/user_avatar/community.crossref.org/anjum/32/53_2.png) [@Anjum](https://community.crossref.org/u/Anjum)\
**Post date:** [26 June 2020 17:54 UTC](https://community.crossref.org/t/typeerror-publications-pubdoi-is-undefined/1355/3 "2020-06-26T17:54:49Z")

</div>

@isabelruiz, Welcome to the community.

@ifarley is the good technical supporter. He helped me many a times to solve the problems.

---

<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:** [26 June 2020 20:04 UTC](https://community.crossref.org/t/typeerror-publications-pubdoi-is-undefined/1355/4 "2020-06-26T20:04:12Z")

</div>

Thanks for the details, @isabelruiz!

Unfortunately, It looks like you have found a bug in Metadata Manager. My apologies! Nothing is wrong with the metadata you have entered into Metadata Manager, but the XML that is being generated specifically for the tag of your issue-level contributors is invalid. That’s on our end. I have add your details to the existing issue we are using to track this bug. You can follow the discussion here: [https://gitlab.com/crossref/metadata\_manager/issues/25](https://gitlab.com/crossref/metadata_manager/issues/25).

I have removed those contributors from the issue-level metadata in Metadata Manager and then successfully registered your DOIs for you. You may add the issue-level contributors back to the issue-level metadata once we have this bug fixed.

 ![Screen Shot 2020-06-26 at 3.00.09 PM](https://us1.discourse-cdn.com/flex020/uploads/crossref/original/1X/b57d533795f14614a98341a7844e51131175da0c.png)

I’m very sorry for this inconvenience.

Kind regards,  
Isaac

---

<div class="post-metadata">

**Author:** ![isabelruiz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.crossref.org/isabelruiz/32/224_2.png) [@isabelruiz](https://community.crossref.org/u/isabelruiz)\
**Post date:** [29 June 2020 10:08 UTC](https://community.crossref.org/t/typeerror-publications-pubdoi-is-undefined/1355/5 "2020-06-29T10:08:40Z")

</div>

Dear @ifarley, thanks a lot for fixing temporary the problem. DOI numbers are working properly ;).  
Can you confirm if you will notice me/us when the problem was solved? If you don’t mind, I will contact again when we were working with our next issue (December).  
Best regards and thanks for your help!  
Isabel

---

<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:** [6 July 2020 19:45 UTC](https://community.crossref.org/t/typeerror-publications-pubdoi-is-undefined/1355/6 "2020-07-06T19:45:42Z")

</div>

Hi @isabelruiz,

Unfortunately, I don’t have a timeline for that specific fix at this time. We have a freeze on all non-essential Metadata Manager bug fixes at this time, and since this metadata can be added using XML, we have not yet prioritized that issue ([https://gitlab.com/crossref/metadata\_manager/-/issues/25](https://gitlab.com/crossref/metadata_manager/-/issues/25)). Please feel free to check back in with me for your next issue and I can provide an update.

I wish I had a more satisfying answer for you,  
Isaac
