Stream: troubleshooting

Topic: Investigating Embargo "tag" Problem


view this post on Zulip Sherry Lake (Feb 12 2025 at 17:05):

Who has dataverse Admin rights on demo.dataverse.org?

I need the admin to run the following to remove an embargo from one of my datasets.
https://demo.dataverse.org/dataverse/lake_design

Only the admin TOKEN is needed, all other settings are correct.
Documented here: https://guides.dataverse.org/en/latest/api/native-api.html#remove-an-embargo-on-files-in-a-dataset

export API_TOKEN=NEEDS demo.dataverse Admin TOKEN

export SERVER_URL=https://demo.dataverse.org
export PERSISTENT_IDENTIFIER=doi:10.70122/FK2/NAM7BG
export JSON='{"fileIds":[2533100]}'
curl -H "X-Dataverse-key: $API_TOKEN" -H "Content-Type:application/json" "$SERVER_URL/api/datasets/:persistentId/files/actions/:unset-embargo?persistentId=$PERSISTENT_IDENTIFIER" -d "$JSON"

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 12 2025 at 18:41):

@Sherry Lake sure, done:

{"status":"OK","data":{"message":"Embargo(es) were removed from files"}}

view this post on Zulip Sherry Lake (Feb 12 2025 at 18:56):

Thanks, @Philip Durbin โ˜ƒ๏ธ
And you can see the bug I found.... https://demo.dataverse.org/dataverse/lake_design
The dataset still has the "embargo" tag. But the file is no longer under embargo (only one file in the dataset).

I am waiting to see if an embargo is removed on its own (after the embargo date) by the software if the tag is still there. I will have to wait until tomorrow for an auto-release embargo in another dataset.

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 12 2025 at 18:59):

D'oh! :doh:

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 12 2025 at 18:59):

Do you want a job in QA? :sweat_smile:

view this post on Zulip Sherry Lake (Feb 12 2025 at 19:52):

Ask me at the Dataverse Community Meeting in June....... :wink:

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 12 2025 at 19:56):

ha, ok

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 12 2025 at 19:56):

When you create the issue, please link it up here.

view this post on Zulip Sherry Lake (Feb 13 2025 at 16:37):

Reported: https://github.com/IQSS/dataverse/issues/11257

view this post on Zulip Philip Durbin ๐Ÿš€ (Feb 13 2025 at 18:07):

Thanks, @Sherry Lake! Looks like Jim replied already.


Last updated: Oct 30 2025 at 06:21 UTC