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

Rest API endpoint is not found. Possibly related to removal of Paint 3D from MS Store #5024

Open
LonkToThePast opened this issue Dec 1, 2024 · 4 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source

Comments

@LonkToThePast
Copy link

LonkToThePast commented Dec 1, 2024

Brief description of your issue

When attempting to run winget update --all, this error will occur:

Failed when searching source: msstore An unexpected error occurred while executing the command: 0x8a150044 : The rest API endpoint is not found.

I started experiencing this issue the same day that Paint 3D was removed from the Microsoft Store (2024-11-04), and I still have it installed, so this is possibly an issue with it trying to search for updates for Paint 3D, which no longer exists

winget update will function for non msstore packages, displaying Failed when searching source; results will not be included: msstore and ignoring all packages from the msstore.

Steps to reproduce

run winget update --all while the package for Paint 3D is installed

Expected behavior

winget update --all should update all packages, ignoring those which no longer exist

Actual behavior

Failed when searching source: msstore An unexpected error occurred while executing the command: 0x8a150044 : The rest API endpoint is not found. will be displayed and the command will fail

Environment

[winget --info]
Windows Package Manager v1.9.25200
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.5131
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Possibly conflicting software is Paint 3D
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Dec 1, 2024
@davidldennison
Copy link

davidldennison commented Dec 1, 2024

Think I'm experiencing a similar issue. Running winget search without updating source first results in the following

Image

But running winget source update first seems to work. Then running winget search runs without the failure.

winget --info :

 david   C:\      winget --info  in cmd at 17:13:19
Windows Package Manager (Preview) v1.10.40-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.27754.1000
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.25.40.0

Winget Directories

Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads

Links

Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Group Policy State

Enable Windows Package Manager Enabled
Enable Windows Package Manager Settings Enabled
Enable Windows App Installer Experimental Features Enabled
Enable Windows App Installer Local Manifest Files Enabled
Enable Windows App Installer Hash Override Enabled
Enable Windows App Installer Local Archive Malware Scan Override Enabled
Enable Windows Package Manager command line interfaces Enabled
Enable Windows Package Manager Configuration Enabled
Set Windows Package Manager Source Auto Update Interval In Minutes 60

Admin Setting State

LocalManifestFiles Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Enabled
LocalArchiveMalwareScanOverride Enabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled

@davidldennison
Copy link

@LonkToThePast try running this from CMD:

wsreset

Also, have you tried running the DISM Cleanup-Image commands?

@LonkToThePast
Copy link
Author

@davidldennison wsreset does nothing as I don't have the msstore app itself installed at the moment, but that was not an issue up until November 4th, and I was able to install msstore apps from winget to substitute. I have not tried the DISM Cleanup-Image commands, but I will try them and get back to you

@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source and removed Needs-Triage Issue need to be triaged labels Dec 2, 2024
@LonkToThePast
Copy link
Author

@davidldennison The DISM cleanup-image commands result in a no component store corruption detected

C:\Windows\system32>DISM /Online /Cleanup-Image /ScanHealth Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.19044.5131 [==========================100.0%==========================] No component store corruption detected. The operation completed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source
Projects
None yet
Development

No branches or pull requests

3 participants