Limited amount of articles that can be added through PMID

Hello, I'm running version 6.0.26 on linux.
If I use the wizard command to add several articles with a PMID identifier, only the first 6 get added to the library.
  • Could you post a list of 10-20 PMIDs that you're testing with?
  • 37289478
    29633571
    36790458
    37014751
    32355287
    32649862
    32846126
    33038986
    30879219
    24507776
    30936069
    29146883
    36952636
    36156210
    28815563
    29987015
    35812759
    33194896
  • OK, looks like Pubmeds API has gotten more restrictive (it's returning 429 "too many requests" after 5-10 quick requests).
    I think we should be able to handle that better on the request end, but might not be super quick. I don't have a great workaround other than going through the Pubmed interface & exporting nbib until then.
  • edited August 5, 2023
    It looks like we've been sending all Add Item by Identifier requests simultaneously for a while, which we definitely shouldn't be doing. For the next Zotero 7 beta, I've changed it back to serializing these requests, and for me that allows all of these ids to save.

    We'll likely be putting out one more Zotero 6 release soon, 6.0.27, and we'll backport this change to that.

    In the meantime, I would avoid trying to save many ids at once, which may get you temporarily banned by upstream sites.
  • Is there a reason we shouldn't send a single request with up to the max number of pmids allowed? That won't work for other IDs, but pretty sure the PubMed API alles that
  • Yeah, that works fine. Has to be done in Zotero proper, but I'll set it to do 200 at once, which is what PubMed recommends as the limit for GET requests. (We could apparently pass up to 10,000 if we switched to POST, but passing batches of 200 seems…fine.)
  • We've made both of these changes in 6.0.27, available now.
Sign In or Register to comment.