# Unable to get PubMed IDs

**URL:** <https://discourse.jabref.org/t/unable-to-get-pubmed-ids/2896>\
**Category:** Help\
**Created:** [August 16, 2021, 7:04am UTC](https://discourse.jabref.org/t/unable-to-get-pubmed-ids/2896 "2021-08-16T07:04:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![don\_bastianello](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@don\_bastianello](https://discourse.jabref.org/u/don_bastianello)\
**Post date:** [August 16, 2021, 7:04am UTC](https://discourse.jabref.org/t/unable-to-get-pubmed-ids/2896/1 "2021-08-16T07:04:30Z")

</div>

Hello there, I recently encountered a problem with JabRef (v5.0) fetching information via PubMed IDs. When pasting PubMed IDs in the query form the error message is as follows:

### 

Unhandled exception occured  
Unable to get Pubmed IDs  
The exception stacktrace was:

org.jabref.logic.importer.FetcherException: Unable to get PubMed IDs  
at org.jabref/org.jabref.logic.importer.fetcher.MedlineFetcher.getPubMedIdsFromQuery(Unknown Source)  
at org.jabref/org.jabref.logic.importer.fetcher.MedlineFetcher.performSearch(Unknown Source)  
at org.jabref/org.jabref.gui.importer.fetcher.WebSearchPaneViewModel.lambda$search$1(Unknown Source)  
at org.jabref/org.jabref.gui.util.BackgroundTask$1.call(Unknown Source)  
at org.jabref/org.jabref.gui.util.DefaultTaskExecutor$1.call(Unknown Source)  
at org.jabref.merged.module/javafx.concurrent.Task$TaskCallable.call(Unknown Source)  
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)  
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)  
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)  
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.base/java.lang.Thread.run(Unknown Source)  
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target  
at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)  
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)  
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)  
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)  
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(Unknown Source)  
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(Unknown Source)  
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(Unknown Source)  
at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)  
at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)  
at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)  
at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)  
at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)  
at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)  
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)  
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)  
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)  
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)  
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)  
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)  
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)  
at java.base/java.net.URL.openStream(Unknown Source)  
… 12 more  
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target  
at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source)  
at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)  
at java.base/sun.security.validator.Validator.validate(Unknown Source)  
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)  
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)  
… 29 more  
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target  
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)  
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)  
at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)  
… 34 more

### 

Any help is highly appreciated

---

<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:** [August 16, 2021, 7:20am UTC](https://discourse.jabref.org/t/unable-to-get-pubmed-ids/2896/2 "2021-08-16T07:20:32Z")

</div>

Version 5.0 is kind of old now. I would recommend to upgrade to JabRef 5.3 first ([Download JabRef latest release](https://www.fosshub.com/JabRef.html)), and see if this still happens.
