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

Handle Embargoed Dandiset Creation #534

Closed
garrettmflynn opened this issue Dec 6, 2023 · 0 comments · Fixed by #522
Closed

Handle Embargoed Dandiset Creation #534

garrettmflynn opened this issue Dec 6, 2023 · 0 comments · Fixed by #522
Assignees

Comments

@garrettmflynn
Copy link
Member

The current PR for Dandiset creation (#522) uses a JavaScript API to handle requests to the DANDI server—but this currently doesn't seem to be able to handle embargoed Dandisets. For requests involving these, I get a 401 (Unauthorized) error.

Screenshot 2023-12-05 at 8 45 39 PM

Ideally, the JavaScript API can modify itself to pass the required authentication information (which appears to be different than the Dandiset creation auth info...) so these Dandisets can be retrieved immediately after creation.

As a fallback, we can instead start making requests to the Python API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant