-
Notifications
You must be signed in to change notification settings - Fork 45
Upload failure in CLI during getRepoAccess #3783
Copy link
Copy link
Open
Labels
Description
What went wrong?
User attempted to update a dataset, got a failure during the permissions check (identifying data redacted):
PS > $env:OPENNEURO_LOG="DEBUG"
PS > deno run --reload -A jsr:@openneuro/cli upload -v --delete --ignoreWarnings --affirmDefaced --affirmConsent --debug ERROR --dataset <DATASET> W:\<PATH>\data
DEBUG Logger invoked at "readConfig (https://jsr.io/@openneuro/cli/4.45.4/src/config.ts:46:10)"
INFO configured with URL "https://openneuro.org/" and token "eyJh...B5ME"
DEBUG Logger invoked at "Command.uploadAction [as actionHandler] (https://jsr.io/@openneuro/cli/4.45.4/src/commands/upload.ts:68:10)"
INFO upload W:\<PATH>\data resolved to W:\<PATH>\data
This dataset appears to be BIDS compatible.
Summary: Available Tasks: Available Modalities:
1381 Files, 91.3 GB MRI
17 - Subjects 9 - Sessions MEG
Validation complete, preparing upload.
error: Uncaught (in promise) Error: Cannot read properties of undefined (reading 'id')
throw Error(errors.map((error) => error.message).toString())
^
at getRepoAccess (https://jsr.io/@openneuro/cli/4.45.4/src/commands/git-credential.ts:42:11)
at async Command.uploadAction [as actionHandler] (https://jsr.io/@openneuro/cli/4.45.4/src/commands/upload.ts:127:31)
at async Command.execute (https://jsr.io/@effigies/cliffy-command/1.0.0-dev.8/command.ts:1940:7)
at async Command.parseCommand (https://jsr.io/@effigies/cliffy-command/1.0.0-dev.8/command.ts:1772:14)
at async commandLine (https://jsr.io/@openneuro/cli/4.45.4/src/options.ts:47:29)
at async main (https://jsr.io/@openneuro/cli/4.45.4/mod.ts:21:5)
at async https://jsr.io/@openneuro/cli/4.45.4/mod.ts:26:1Expected behavior
Successful upload.
How to reproduce
No response
Desktop
- OS: Windows
- Browser: deno
- Version: unknown
Phone
- Device:
- OS:
- Browser:
- Version:
Additional information
Reactions are currently unavailable