wshanks / Zutilo

Zotero plugin providing some additional editing features
Other
1.47k stars 71 forks source link

Wrong URI links when doing “Copy Zotero URIs”. Getting “Error 404 Page Not Found” in Zotero #268

Open nicolnt opened 3 months ago

nicolnt commented 3 months ago

I am experiencing a weird bug where the username is wrong in the URL generated when doing “Copy Zotero URIs”.

This happens in my personal library, I didn't change my username.

It generates this kind of link: https://www.zotero.org/users/9206142/items/FT3GD9A9 But my Zotero username is not 9206142. The right link should be this one https://www.zotero.org/nicolas.lienart/items/FT3GD9A9

I am logged in Zotero so it's not related to permissions, apparently.

wshanks commented 3 months ago

The first link is what has worked in the past. Zotero must have changed its API and removed the old path that worked with user ID's instead of user names. There is probably some different property Zutilo could access to get the user name instead of the user ID.