Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinGet download has unhelpful error text when download not supported. #4645

Closed
KevinLaMS opened this issue Jul 16, 2024 · 1 comment · Fixed by #4841
Closed

WinGet download has unhelpful error text when download not supported. #4645

KevinLaMS opened this issue Jul 16, 2024 · 1 comment · Fixed by #4841
Labels
Area-Output Issue related to CLI output Command-Download Issue related to WinGet Download In-PR Issue related to a PR Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@KevinLaMS
Copy link
Contributor

Brief description of your issue

Not all apps in the store support download. When you download an app that does not support download you get the following error

Failed to retrieve Microsoft Store package download information
An unexpected error occurred while executing the command:
Failed to call SfsClient GetLatestAppDownloadInfo. ErrorCode: 2147492868 Message: 404 Not Found
0x8a150081 : Failed to get Microsoft Store package download information.

Steps to reproduce

winget download 9PJN3DBXFP9M

Expected behavior

I expect the client to offer a more useful message.

The package you requested does not support the download command.

The current error makes me think access to the store is broken and I may spend unneccesary cycles trying to figure out what is wrong.

[It should be noted that filtering store apps in search that do not support download might improve the experience]

Actual behavior

Failed to retrieve Microsoft Store package download information
An unexpected error occurred while executing the command:
Failed to call SfsClient GetLatestAppDownloadInfo. ErrorCode: 2147492868 Message: 404 Not Found
0x8a150081 : Failed to get Microsoft Store package download information.

Environment

Windows Package Manager (Preview) v1.9.1792-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26255.5000
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.1792.0
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jul 16, 2024
@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. Command-Download Issue related to WinGet Download Area-Output Issue related to CLI output and removed Needs-Triage Issue need to be triaged labels Jul 16, 2024
@JimMoyle
Copy link

i'd like to see a proper reason here, and make it actionable, who should the admin contact to make this downloadable. is it microsoft, is it the vendor, etc.

@yao-msft yao-msft linked a pull request Sep 30, 2024 that will close this issue
@microsoft-github-policy-service microsoft-github-policy-service bot added the In-PR Issue related to a PR label Sep 30, 2024
@denelon denelon added this to the 1.9 Client milestone Oct 10, 2024
@denelon denelon added this to WinGet Oct 22, 2024
@denelon denelon moved this to Done in WinGet Oct 22, 2024
@denelon denelon moved this from Done to Released in WinGet Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Output Issue related to CLI output Command-Download Issue related to WinGet Download In-PR Issue related to a PR Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
Status: Released
Development

Successfully merging a pull request may close this issue.

3 participants