scholia icon indicating copy to clipboard operation
scholia copied to clipboard

DOI Lookup does not resolve to quickstatement

Open brierjonOU opened this issue 5 months ago • 1 comments

Describe the bug Doing a DOI lookup the quickstatement does not generate and displays as empty (see screenshot) no matter how long is waited. No timeout or error noted.

To Reproduce Steps to reproduce the behavior:

  1. Do a DOI lookup via address bar https://scholia.toolforge.org/doi/10.33915/datasets.1
  2. Wait just in case the server is taking too long to lookup
  3. See error

Expected behavior Either return a Q, Suggest Quickstatement to add, note a timeout or other backend issue, State the DOI is valid, but a Quickstatement could not be generated due to "insert some user actionable issue or documentation link on what the doi lookup relies on for generating quickstatements"

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Firefox
  • Version 141

Additional context DOI is for a dataset in West Virginia University's Research Respository - https://researchrepository.wvu.edu/datasets/1/ appears to be on bepress.

brierjonOU avatar Jul 31 '25 17:07 brierjonOU

Looks like the Crossref API returns invalid CSL-JSON (unsurprisingly), namely a record with type: null, and the code doesn't account for this (which is my bad).

larsgw avatar Aug 18 '25 18:08 larsgw