dandi / redirector

Apache License 2.0
0 stars 2 forks source link

got "Internal server error" for https://dandiarchive.org/dandiset/000004/draft #10

Closed yarikoptic closed 4 years ago

yarikoptic commented 4 years ago

Followed a link from https://github.com/dandi/dandi-cli/issues/68

$> curl https://dandiarchive.org/dandiset/000004/draft

    <h1>Internal Server Error</h1>
    <p>
        The server encountered an internal error and cannot complete
        your request.
    </p>
satra commented 4 years ago

@mgrauer - the girder endpoint api has changed behavior. we should in the future also adjust the redirector when the endpoint changes:

https://girder.dandiarchive.org/api/v1/dandi?identifier=000004

it looks like the above is now returning a list.

mgrauer commented 4 years ago

Sorry and thanks for the fix. It would be good if we can start nailing down our API surface of the server to the clients in the near-to-medium term.

satra commented 4 years ago

@mgrauer - one easy to test to add to the gui.dandiarchive.org client is to GET the permalink to see if it comes back to itself.

yes we should ensure that our internal client (dandi cli and redirector at the moment) needs for girder API are well documented.