Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nicolnt opened this issue Apr 16, 2024 · 3 comments

Comments

@nicolnt
Copy link

nicolnt commented Apr 16, 2024

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
Copy link
Owner

wshanks commented Apr 17, 2024

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.

@mmyrte mmyrte mentioned this issue Oct 4, 2024
@ramsey
Copy link

ramsey commented Jan 1, 2025

I'm experiencing this same issue, while using a new build of what's currently in the zotero7 branch.

@acsr
Copy link
Contributor

acsr commented Feb 20, 2025

You can use the Actions & Tags Zotero Plugin from https://github.com/windingwind/zotero-actions-tags with the windingwind/zotero-actions-tags#115 Action Script even when the PDF attachment is selected.

The link is copied as HTML [Title] into the clipboard but is pasted as RTF or plain text depending on the clipboard flavors the target application can use.

This script can guess quite well the UI context and type of the selected item and delivers related URIs. In case you have different needs you can search the discussions section of the github Repo to find other scripts, or you (may) be able to change the script code as you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants