You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downloading new version
OperationStopped: C:\Users\maokw\scoop\apps\scoop\current\lib\install.ps1:111
Line |
111 | throw $e
| ~~~~~~~~
| Response status code does not indicate success: 401 (Unauthorized).
This bug is really annoying. I encountered it and it wasted me a lot of time. What's more, I can't even find similar issues by searching the error message. Then I guess the problem may be caused by gh_token so I get here finally. By the way, it seems that the scoop wiki doesn't introduce the config.json.
The remote server returned an error: (401) Unauthorized.
At C:\Users\username\scoop\apps\scoop\current\lib\install.ps1:111 char:9
+ throw $e
+ ~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], WebException
+ FullyQualifiedErrorId : The remote server returned an error: (401) Unauthorized.
Bug Report
Current Behavior
If the configured Github Token
gh_token
is expired or invalid then a unhandled error message is shownExpected Behavior
Handle message and suggest actions to user
Additional context/output
How to reproduce
System details
Windows version: [e.g. 7, 8, 10, 11]
OS architecture: [e.g. 32bit, 64bit, arm64]
PowerShell version: [output of
"$($PSVersionTable.PSVersion)"
]Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration
The text was updated successfully, but these errors were encountered: