Citations: show a clearer message for Semantic Scholar reference-access restrictions
Is your suggestion for improvement related to a problem? Please describe.
In JabRef 6.0-beta.1, the Citations tab displays a long, raw-looking restriction notice when Semantic Scholar cannot provide a paper's references. It is difficult to tell what went wrong or what action to take.
For entry Peng2025PRApplied (DOI 10.1103/PhysRevApplied.23.014075), with Citation fetcher set to Semantic Scholar, the "References cited in" pane shows:
Error while fetching cited entries: Restricted access to references: Notice: The following paper fields have been elided by the publisher: {'references'}.
The message continues with an Unpaywall API URL containing the literal placeholder <INSERT_YOUR_EMAIL>, a DOI URL, and a long license/copyright notice. The placeholder looks actionable even though it is not a ready-to-use link.
This request concerns how JabRef presents the provider's restriction, rather than asking JabRef to bypass it. The screenshot alone does not establish whether this is a regression from an earlier version.
Describe the solution you'd like
- Show a short explanation such as: "Semantic Scholar cannot provide this paper's reference list because of publisher restrictions."
- Offer a clearly labeled link to the paper and, when another supported source is available, a way to try that source.
- Keep the complete provider notice available under expandable details, preserving any required attribution or license information.
- Avoid presenting an API URL with an unresolved email placeholder as a usable link.
- Distinguish this restriction from connection failures and from a paper having no references.
Additional context
JabRef 6.0-beta.1 (macOS bundle version 6.0.50001), macOS 27.0 build 26A428, Apple Silicon.
Thank you for maintaining JabRef!
Da-Jian Zhang
Screenshot
Thanks for the report, the workaround is to create an API key with an email address in the API key
Thanks for the report, the workaround is to create an API key with an email address in the API key
It doesn't seem to be working in dev version. I added an email as API Key to Unpaywall but received the same error in the screenshot.
Same here.
Ah damn, I had min mind we can do anything about this but it's already the response from semantic scholar. One probably needs a free semantic scholar api key or account .
We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.
For any feedback, add a comment to the pull request at https://github.com/JabRef/jabref/pull/17308.