Closed fleed closed 3 years ago
Hmmmm... I think I need more info to go on. The tests for that are currently passing fine, and this simple repro works consistently:
$assets = Get-GitHubRepository -OwnerName PowerShell -RepositoryName PowerShell |
Get-GitHubRelease -Latest |
Get-GitHubReleaseAsset
$assets[0] | Get-GitHubReleaseAsset -Path "~\downloads\data"
As far as I can tell with your report, it's an issue that is local to either that asset or your token. The failure is happening with the web request, and you're getting back AccessDenied Request has expired
. Is the failure consistent for you? Does my example above succeed for you?
Thank you @HowardWolosky I tested it again and it worked, maybe it was a temp issue.
Will close it and reopen it if it happens again
Issue Details
Trying to use the
Get-GitHubReleaseAsset
cmdlet, but receiving an error.Steps to reproduce the issue
Verbose logs showing the problem
Operating System
Name Value
OSVersion Unix 11.0.0 Is 64-bit True Current culture Current UI culture
(MacOS 11.5.2)
PowerShell Version
Name Value
PSVersion 7.1.4 PSEdition Core GitCommitId 7.1.4 OS Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 Platform Unix PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0
Module Version
Running: 0.16.0 Installed: 0.16.0