# Error when creating and entry via DOI

**URL:** <https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679>\
**Category:** Help\
**Created:** [April 26, 2021, 2:29pm UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679 "2021-04-26T14:29:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparusaurata](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/sparusaurata/32/945_2.png) [@sparusaurata](https://discourse.jabref.org/u/sparusaurata)\
**Post date:** [April 26, 2021, 2:29pm UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679/1 "2021-04-26T14:29:16Z")

</div>

Whereas it worked a few days or weeks ago, I can’t create an entry by giving its DOI anymore. It raises an error:

![image](https://canada1.discourse-cdn.com/flex030/uploads/jabref/original/1X/88a43f27c2f3bcf1c564f2e3341083a336e0e983.png)

The issues seems related to DOI only, since arXiv import works.  
I use JabRef 5.2 (but I had the bug on 5.0 too) on Linux Mint 20.1.

Has anybody an idea about how to solve this? Thanks in advance. 🙂

---

<div class="post-metadata">

**Author:** ![mlep](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/mlep/32/387_2.png) [@mlep](https://discourse.jabref.org/u/mlep)\
**Post date:** [April 26, 2021, 3:28pm UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679/2 "2021-04-26T15:28:12Z")

</div>

Could this be that you reached a traffic limitation from [doi.org](http://doi.org)? (like there is for some web fetchers. See [Searching externally using Online Services - JabRef](https://docs.jabref.org/collect/import-using-online-bibliographic-database#google-scholar))

If so, you could try another internet access (which, hopefully, is not banned by [doi.org](http://doi.org)).  
Another alternative would be to try the development version of JabRef ([index - powered by h5ai v0.29.0 (https://larsjung.de/h5ai/)](https://builds.jabref.org/main/) — make sure to backup your data first, just in case): it allows for specifying the DOI URI (see [Custom web address for accessing articles through DOI · Issue #7337 · JabRef/jabref · GitHub](https://github.com/JabRef/jabref/issues/7337)) in the preferences (“Custom DOI URI”), and so you could use an alternative DOI resolver, such as [https://doi.pangaea.de/](https://doi.pangaea.de/) or [https://hdl.handle.net/](https://hdl.handle.net/)

_JabRef is helping you on a regular basis? Please, [find a way of giving back](https://docs.jabref.org/faqcontributing)._

---

<div class="post-metadata">

**Author:** ![sparusaurata](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/sparusaurata/32/945_2.png) [@sparusaurata](https://discourse.jabref.org/u/sparusaurata)\
**Post date:** [April 27, 2021, 11:53am UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679/3 "2021-04-27T11:53:55Z")

</div>

Thanks for your answer! Indeed, the problem doesn’t occur when I try to load a DOI from my home…  
However, I can visit doi .org perfectly from my browser at work, which I suppose wouldn’t be possible in case of traffic restrictions?

By the way, I also tried to use mEDRA as suggested [in the documentation](https://docs.jabref.org/collect/add-entry-using-an-id), but it is unable to find the references I look for:

![image](https://canada1.discourse-cdn.com/flex030/uploads/jabref/original/1X/627fa98be7d60b02cf26696f7eee7bc426068bdc.png)

… even if the DOI resolver at mEDRA .org finds them. Maybe should I post a second post for this problem?

_(Sorry for spaces in URLs but the antispam rules don’t allow me to post more than one hyperlink per post.)_

---

<div class="post-metadata">

**Author:** ![mlep](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/mlep/32/387_2.png) [@mlep](https://discourse.jabref.org/u/mlep)\
**Post date:** [April 27, 2021, 12:44pm UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679/4 "2021-04-27T12:44:37Z")

</div>

So, it may not be a traffic restriction.

Using mEDRA, I get the same result. Please, could you open an issue at [Issues · JabRef/jabref · GitHub](https://github.com/JabRef/jabref/issues)?  
Cheers.

---

<div class="post-metadata">

**Author:** ![sparusaurata](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/sparusaurata/32/945_2.png) [@sparusaurata](https://discourse.jabref.org/u/sparusaurata)\
**Post date:** [April 27, 2021, 12:53pm UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679/5 "2021-04-27T12:53:34Z")

</div>

Done: [Creating entry via mEDRA (using DOI) doesn't work · Issue #7673 · JabRef/jabref · GitHub](https://github.com/JabRef/jabref/issues/7673). 🙂

---

<div class="post-metadata">

**Author:** ![Xavier-B1](https://avatars.discourse-cdn.com/v4/letter/x/7ba0ec/32.png) [@Xavier-B1](https://discourse.jabref.org/u/Xavier-B1)\
**Post date:** [May 3, 2021, 2:48pm UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679/6 "2021-05-03T14:48:34Z")

</div>

Hi,  
I use Jabref5.2 on Win10. I have no issue when creating an entry using the DOI.  
My problem is that the entry states that the title of the journal is labeled as “journaltitle” and the year of publication as “Date”.  
In LaTeX this means that journal and year appear as blank (ie, not described). I have to manually copy and paste those entries into the correct fields in the entry by hand. Any work-around?  
This started happening with 5.2.  
Thanks.

---

<div class="post-metadata">

**Author:** ![sparusaurata](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/sparusaurata/32/945_2.png) [@sparusaurata](https://discourse.jabref.org/u/sparusaurata)\
**Post date:** [May 3, 2021, 3:05pm UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679/7 "2021-05-03T15:05:36Z")

</div>

I think this happens because Jabref is in BibLaTeX mode (by default or not, see [JabRef Always Opens in BibLaTeX Mode (BibTeX Mode Desired)](https://discourse.jabref.org/t/jabref-always-opens-in-biblatex-mode-bibtex-mode-desired/518)).

But it has nothing to do with this topic, you should open a new topic if your issue is not solved.

---

<div class="post-metadata">

**Author:** ![sparusaurata](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/sparusaurata/32/945_2.png) [@sparusaurata](https://discourse.jabref.org/u/sparusaurata)\
**Post date:** [May 3, 2021, 3:10pm UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679/8 "2021-05-03T15:10:15Z")

</div>

By the way, @mlep I just noticed that the DOI fetching now works. I don’t unterstand what the problem was, maybe the traffic restrictions you mentioned.

---

<div class="post-metadata">

**Author:** ![mlep](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/mlep/32/387_2.png) [@mlep](https://discourse.jabref.org/u/mlep)\
**Post date:** [May 3, 2021, 3:15pm UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679/9 "2021-05-03T15:15:49Z")

</div>

You have to edit your library properties and switch the mode to BibTeX.  
See [Year has been replaced by date - #2 by mlep](https://discourse.jabref.org/t/year-has-been-replaced-by-date/2357/2)

---

<div class="post-metadata">

**Author:** ![Xavier-B1](https://avatars.discourse-cdn.com/v4/letter/x/7ba0ec/32.png) [@Xavier-B1](https://discourse.jabref.org/u/Xavier-B1)\
**Post date:** [May 3, 2021, 3:46pm UTC](https://discourse.jabref.org/t/error-when-creating-and-entry-via-doi/2679/10 "2021-05-03T15:46:06Z")

</div>

@mlep In Preferences, under General, the Default Library mode is clearly indicated as BibTeX when I open JabRef. I can choose biblatex, but I guess that this is not what you meant. When I do choose to select biblatex, the journal is still input as journaltitle and the year as date.  
[Edit] Sorry, hadn’t gone to the right place. Now, when changing in ‘Library properties’ the entry to BibTeX, everything is OK. sorry!
