Restricted file download fails for larger files if Terms of Access is specified

73 views
Skip to first unread message

Zhang Shuxian

unread,
Apr 10, 2026, 2:57:47 AMApr 10
to dataverse...@googlegroups.com, Yuyun Wirawati, Jeyalakshmi Sambasivam, Nguyen Quynh Nga

Dear Dataverse Community,

 

We have encountered issues when trying to download restricted files with "Terms of Access" specified.

 

1st Issue

 

When "Terms of Access" is specified, and a user is granted permission to download restricted files. Example dataset, https://doi.org/10.21979/N9/BRIOZ0.

 

  • If we start by downloading very small files (e.g., the 625B, 1.3KB files), the downloads are successful. And then we can proceed to download larger files successfully.

 

  • If we start by downloading larger files (e.g., the 5.2KB, 5.8KB files or anything larger), the download never starts after we click to accept the “Term of Access”.

 

 

For datasets with restricted files and no "Terms of Access" specified (e.g., https://doi.org/10.21979/N9/3BMCMW), a user with granted permission can download files of several gigabytes large, without any issue.

 

The same thing happens to superusers as well.

 

 

2nd Issue

 

For datasets with "Terms of Access" is specified (e.g., https://doi.org/10.21979/N9/BRIOZ0), the pop-up message sometimes become very weird, and we cannot predict when this happens.

 

Most of the time, the correct pop-up is shown (screenshotted below) when we click to download a restricted file.

 

 

 

But sometimes, a strange page is shown (looks like a guestbook, but there is no guestbook assigned to this dataset).

 

 

 

Has anyone encountered a similar issue?

 

We are currently at Version 6.1, but we are not sure when the issues start.

 

Thanks very much.

 

Warm regards,

Shuxian from NTU Library


CONFIDENTIALITY: This email is intended solely for the person(s) named and may be confidential and/or privileged. If you are not the intended recipient, please delete it, notify us and do not copy, use, or disclose its contents.
Towards a sustainable earth: Print only when necessary. Thank you.

Julian Gautier

unread,
Apr 13, 2026, 4:23:47 PMApr 13
to Dataverse Users Community
Hi Shuxian,

Thanks for describing these issues!

I couldn't help with the first one you described, except to comment that I can't imagine how the problem is related to those super small file sizes.

But for the second issue you described, I can say that it might be related to a series of guestbook bugs that were fixed in later versions of Dataverse, like the bug described in https://github.com/IQSS/dataverse.harvard.edu/issues/247#issuecomment-2627541100 that informed changes described in the pull request https://github.com/IQSS/dataverse/pull/11203. The changes in that PR were included in the v6.6 release of Dataverse. So I'm wondering if upgrading the version of Dataverse that your repository is using would help.

Or maybe you could test things on a later version of Dataverse. Our testing site, Demo Dataverse (https://demo.dataverse.org), is using v6.10 and you would be welcome to use it for testing if you'd like.

Hope this helps!
Julian

Julian Gautier (he/him)
Product Research Specialist, IQSS
Interested in helping test Dataverse? Sign up for user experience research

Philip Durbin

unread,
Apr 17, 2026, 4:34:38 PMApr 17
to dataverse...@googlegroups.com
Hi Shuxian,

I'm afraid I don't have any particular insight on these. I don't remember any related GitHub issues.

To reiterate what Julian said, perhaps upgrading will help? And yes, if you can reproduce any of this on our demo site, please let us know!

Thanks,

Phil

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dataverse-community/8148a8ba-4b5b-4561-92ba-bb704613f9c5n%40googlegroups.com.


--

Shuxian Zhang

unread,
Apr 22, 2026, 12:46:41 AM (11 days ago) Apr 22
to Dataverse Users Community
Hi Julian and Philip,

Thanks a lot for your responses.

I have tried the Demo Dataverse (https://demo.dataverse.org), and both issues were not replicated. 

The two issues currently affect all our restricted datasets with "Terms of Access" specified.

 Is the bug fixed in v6.6 and later? We likely will not have enough resources to upgrade our application to v6.6 within this year. 

I'm wondering if there is other solutions besides upgrading.

Best regard,
Shuxian from NTU Library

Julian Gautier

unread,
Apr 24, 2026, 5:39:22 PM (8 days ago) Apr 24
to Dataverse Users Community
Hey Shuxian,

Yeah the PR I mentioned made changes to v6.6 of Dataverse, so I'd guess that at least for the second issue you mentioned, the bug is fixed for v6.6 and later.

I'm still not sure about that first issue with the file sizes.

About other solutions, it's tough for me to say or test other solutions since I don't have access to a repository that's using a version that we released before v6.6 (and don't want to abuse the other Dataverse repositories that are on v6.1 😅).

I know you wrote that no datasets have guestbooks applied to them, but for the collections that those datasets are in, what's the guestbook mode set to?  If it's set to "Guestbook Entry at Access Request", do the bugs still exist if you change the guestbook mode to "Guestbook Entry at Download"?
Reply all
Reply to author
Forward
0 new messages