Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when retrieving dataverse file info for restricted file #407

Closed
ekraffmiller opened this issue Nov 22, 2021 · 2 comments
Closed

Error when retrieving dataverse file info for restricted file #407

ekraffmiller opened this issue Nov 22, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ekraffmiller
Copy link
Member

For the Dataverse use case, the POST to dv-file is failing when the file is restricted. The response: 400. Message: "success":false,"message":"Info for file not found in the schema. Did not find fileId "15"" .

@ekraffmiller
Copy link
Member Author

Need to compose the download URL directly, rather than getting it from the export metadata API (because the export API doesn't include the download URL for restricted files.
Example of the download URL:
"http://ec2-18-232-125-211.compute-1.amazonaws.com/api/access/datafile/"

@raprasad
Copy link
Member

closing. this will change with signed urls #127

@raprasad raprasad added this to the Create stats fixes milestone Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants