WinGet download has unhelpful error text when download not supported. #4645
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
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
The text was updated successfully, but these errors were encountered: