Hi, for an integration with galaxyproject.org I need to be able to download files from dataverse via API.
When I use the API request from the docs, I get this response. Is the Data Access API not active on the demo instance?
{"status":"ERROR","code":404,"message":"API endpoint does not exist on this server. Please check your code for typos, or consult our API guide at http://guides.dataverse.org.","requestUrl":"https://demo.dataverse.org/api/v1/access/datafile/:persistentId/?persistentId=doi:10.70122/FK2/DIG2DG","requestMethod":"GET"}
Is there another way to get the file, via Native API?
Oh I found a working URL. And actually it is even linked on the file in the UI, great! So I am going to answer myself:
This works. Looks like the v1 in the URL was making trouble and the persistend ID wasn't correct either:
https://demo.dataverse.org/api/access/datafile/:persistentId?persistentId=doi:10.70122/FK2/DIG2DG/AVNCLL
Kai König has marked this topic as resolved.
I'm glad you figured it out.
The v1 should be ok. This works: https://demo.dataverse.org/api/v1/access/datafile/:persistentId?persistentId=doi:10.70122/FK2/DIG2DG/AVNCLL
But yeah, the persistentId definitely needs to be valid.
Last updated: Nov 01 2025 at 14:11 UTC