3.0.20 404 for Azure Artifacts
See original GitHub issuePrerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
Steps to reproduce
Register-PSResourceRepository -Name powershell-test -Uri "https://pkgs.dev.azure.com/xxx/_packaging/powershell-test/nuget/v3/index.json" -Trusted
$cred = Get-Credential 'pat'
Find-PSResource -Name Pester -Repository powershell-test -Credential $cred
Expected behavior
Module is found
Actual behavior
Find-PSResource: SendV3RequestAsync(): Error occured while trying to retrieve response: Response status code does not indicate success: 404 (Not Found).
Error details
Exception :
Type : System.Net.Http.HttpRequestException
TargetSite :
Name : MoveNext
DeclaringType : Microsoft.PowerShell.PowerShellGet.Cmdlets.V3ServerAPICalls+<SendV3RequestAsync>d__39, PowerShellGet, Version=3.0.20.0, Culture=neutral, PublicKeyToken=null
MemberType : Method
Module : PowerShellGet.dll
Message : SendV3RequestAsync(): Error occured while trying to retrieve response: Response status code does not indicate success: 404 (Not Found).
Source : PowerShellGet
HResult : -2146233088
StackTrace :
at Microsoft.PowerShell.PowerShellGet.Cmdlets.V3ServerAPICalls.SendV3RequestAsync(HttpRequestMessage message, HttpClient s_client)
at Microsoft.PowerShell.PowerShellGet.Cmdlets.V3ServerAPICalls.HttpRequestCall(String requestUrlV3, ExceptionDispatchInfo& edi)
TargetObject : Microsoft.PowerShell.PowerShellGet.Cmdlets.FindHelper
CategoryInfo : InvalidOperation: (Microsoft.PowerShel….Cmdlets.FindHelper:FindHelper) [Find-PSResource], HttpRequestException
FullyQualifiedErrorId : FindNameFail,Microsoft.PowerShell.PowerShellGet.Cmdlets.FindPSResource
InvocationInfo :
MyCommand : Find-PSResource
ScriptLineNumber : 1
OffsetInLine : 1
HistoryId : 14
Line : Find-PSResource -Name Pester -Repository powershell-test -Credential $cred
PositionMessage : At line:1 char:1
+ Find-PSResource -Name Pester -Repository powershell-test -Credential …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
InvocationName : Find-PSResource
CommandOrigin : Internal
ScriptStackTrace : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo :
Environment data
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Binary 3.0.20 beta20 PowerShellGet {Find-PSResource, Get-PSResource, Get-PSResourceRepository, Get-PSScriptFileInfo…}
Name Value
---- -----
PSVersion 7.3.3
PSEdition Core
GitCommitId 7.3.3
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response
Issue Analytics
- State:
- Created 6 months ago
- Reactions:1
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Azure Artifacts is returning 404 for some of the public npm ...
Looks like this is a permissions issue. Can you please check to make sure that you (and other developers trying to pull from...
Read more >Function redeploy fails with 404 (package) #178
Related information. Provide any related information. Programming language used : Java. mvn azure-functions:deploy. Full -X output here -->.
Read more >Downloading artifacts from Azure DevOps using .NET
In this post I show how to use the Azure DevOps REST API to view ... If the artifact doesn't exist, the API...
Read more >404 error when trying to download an artifact
I used the 'Publish pipeline artifact' which is in Preview version, so might be related. Any idea ? Azure DevOpsAzure DevOpsartifacts.
Read more >404 error downloading files within artifacts from published ...
On pages like https://dev.azure.com/myOrg/myProj/_build/results?buildId=1234&view=artifacts&type=publishedArtifacts
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@hbuckle we made a bunch of fixes for ADO feeds and added more tests so for the next release so I am hoping this is resolved…adding @anamnavi as she did most of that work and may be able to test
This should be resolved with PR #1167