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

getDepositionByDOI() errors when Zenodo returns a 404 #76

Closed
ThierryO opened this issue Jun 9, 2022 · 4 comments
Closed

getDepositionByDOI() errors when Zenodo returns a 404 #76

ThierryO opened this issue Jun 9, 2022 · 4 comments
Assignees
Labels
bug Something isn't working user support
Milestone

Comments

@ThierryO
Copy link

ThierryO commented Jun 9, 2022

I'm getting Error in result$doi : $ operator is invalid for atomic vectors

zenodo <- ZenodoManager$new(token = key_get("zenodo"))
zenodo$getDepositionByDOI("10.5281/zenodo.5792949")

The line below fails because result <- list(message = "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.", status = 404L)

if(length(result)>0){

@eblondel eblondel self-assigned this Jun 9, 2022
@eblondel eblondel added this to the 0.6 milestone Jun 9, 2022
@eblondel
Copy link
Owner

eblondel commented Jun 9, 2022

thanks @ThierryO will look at it asap, first to see if I can reproduce it. Is it something that you experiment permanently? I'm asking because it looks like a temporary error.

@ThierryO
Copy link
Author

This code used to work back in January. I'm trying to upload a new version of an existing deposit.

@eblondel eblondel added the bug Something isn't working label Jun 14, 2022
@eblondel
Copy link
Owner

Yes, actually, I had followed-up on a server-side change in Zenodo API (see #72), but now I realize they reverted it back... I'm going to applpy a fix for that

eblondel added a commit that referenced this issue Jun 14, 2022
@eblondel
Copy link
Owner

@ThierryO this should be fixed, can you test it again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working user support
Projects
None yet
Development

No branches or pull requests

2 participants