Error importing DOIs via Add Item By Identifier

This discussion was created from comments split from: Can't find metadata for valid DOI.
  • edited September 23, 2020
    I'm recently having trouble with adding by DOI as well.
    Here are a few examples from this week of works I have had to add manually:

    10.11501/1258432
    10.18966/joah.47.0_22
    10.18999/juncture.11.46
    10.18999/juncture.11.30
    10.18999/juncture.11.20

    I've verified them all at https://www.doi.org/

    Every one just hangs in Zotero.

    Additionally, for:
    10.11501/1258432
    I can't add this source from the National Diet Library site via DOI or by identifier directly in Zotero. I haven't tested this on other sources.
  • No 'type' provided in CSL-JSON
    These are all returning invalid data, without a type property, which is required. That's causing an error in Zotero.

    Zotero shouldn't hang, though, and should probably just default to the CSL-JSON article type (Document item type in Zotero), though most of these return almost no actual data:

    % curl -L -H 'Accept: application/vnd.citationstyles.csl+json' https://doi.org/10.11501/1258432
    {
    "DOI":"10.11501/1258432",
    "URL":"https://doi.org/10.11501/1258432",
    "language":"ja",



    "issued":{
    "date-parts":
    [
    [1934]
    ]
    }
    }


    But really the publisher or registration agency needs to fix these to provide proper data.
  • I've created a patch to default to Document here, but I'd like to give others a chance to comment before merging it.
  • These are all coming from JaLC, the Japanese DOI registration agency. I don't believe this used to work at all, so this is definitely a step forward, but I'd definitely report to the publisher, yes.
  • edited September 23, 2020
    But currently importing these wouldn't do much good: they don't even have a title, only DOI, date, and language... (that's for the NDL ones. The juncture/Nagoya ones at least have a title and a volume)
  • Following up on this with an update on the current situation (afaik) with the NDL.

    Some entries in the NDL's Digital Collection (https://dl.ndl.go.jp/?__lang=en) have DOIs. Those DOIs can be recognized by doi.org, and inputting them will take you to the NDL page. This works for both the DOI I posted above (10.11501/1258432) and for others (10.11501/1271091, etc.)

    However, Zotero still draws a blank. Specifically, it throws a

    lookup.failure.title

    error.

    Does this mean that the DOI has no metadata and is just acting as a permalink?

    Sorry if this betrays my intense failure to understand something basic, and thanks again for all your amazing work on Zotero.
  • Does this mean that the DOI has no metadata and is just acting as a permalink?
    Yes, unfortunately. The response for the above command hasn't changed, and 10.11501/1271091 returns more or less the same thing. Whether a DOI redirects doesn't provide an indication of whether metadata is available (though if it doesn't redirect, it almost certainly won't return metadata).
    lookup.failure.title

    error.
    That shouldn't happen, though. You're saying you see this in the error dialog? Are you using the Japanese locale? Can you provide a Report ID?
  • Thanks @dstillman !

    And no, I'm seeing the Japanese translation for the error, not the error code. I just didn't know the English and was too lazy to switch the GUI. Sorry about that!
  • I've pushed the change discussed above, so items without 'type' that at least have 'title' should now save.
Sign In or Register to comment.