I am trying to make an API call to demo.dataverse.org to create a collection but receive an error User @xxx is not permitted to perform requested action. It would be nice if https://demo.dataverse.org supported testing of the API. I'm trying to test a public API curation framework (https://github.com/kuhlaid/dv-api-test) that simplifies common Dataverse API actions and would like the public to be able to test easily. I can personally use the https://demo-dataverse.rdmc.unc.edu domain but am not sure if the public can use it to test API calls.
Huh, it says "Anyone with a Dataverse account can add sub dataverses and datasets".
Screenshot 2025-03-12 at 10.37.15โฏAM.png
(As a side note, dv-api-test looks great! Please see also #community > recipes.)
Are you trying to create a collection in the root collection?
It should work! :sweat_smile:
Hi @Philip Durbin โ๏ธ , yes I'm trying to create a collection at the root when I receive the error. You are welcome to spin up the Notebook in MyBinder and test it yourself.
Can you please try changing...
"_cc__strDvApi_PARENT_COLLECTION": "root",
... to...
"_cc__strDvApi_PARENT_COLLECTION": ":root",
...?
Done. That fixed the issue, thank you.
kuhlaid has marked this topic as resolved.
Last updated: Nov 01 2025 at 14:11 UTC