Skip to content

uploadFile -> Error: $ operator is invalid for atomic vectors #80

Answered by eblondel
bonushenricus asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bonushenricus i've converted this in discussion (feel free to open one for questions, we use more issues for enhancements/new features or bug fixing), although here the documentation has to be updated here. In the past the id had to be used. It can still be used with the recordId argument of uploadFile method, but in that case the old upload API will be used.
Please use the record argument, which will enable the new upload API (bucket-based), in that way:

zenodo$uploadFile('/yourfile', record = myrec)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by eblondel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #79 on July 05, 2022 06:09.