Skip to content

Question of the error message when trying to upload #85

Answered by CodyCBakerPhD
chenguangsmy asked this question in Q&A
Discussion options

You must be logged in to vote

The second issue of

2022-12-01 15:15:21,871 [ ERROR] Error 401 while sending GET request to https://api.dandiarchive.org/api/auth/token: {"detail":"Invalid token."}

indicates it couldn't find the API token during upload.

It should, as I understand, prompt you for that if it can't find it, rather than just returning an error, but in any case this ought to be resolved by following the guide for storing DANDI credentials here: https://www.dandiarchive.org/handbook/13_upload/#storing-access-credentials

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
5 replies
@chenguangsmy
Comment options

@CodyCBakerPhD
Comment options

@chenguangsmy
Comment options

@yarikoptic
Comment options

@chenguangsmy
Comment options

Comment options

You must be logged in to vote
2 replies
@yarikoptic
Comment options

@chenguangsmy
Comment options

Answer selected by chenguangsmy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants