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

[Bug]: Errors in Get-EvergreenApp cause Invoke-EvergreenLibraryUpdate to stop despite the -erroraction Continue flag #523

Open
2 tasks done
bailey-mcquary opened this issue Aug 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@bailey-mcquary
Copy link

What happened?

When Invoke-EvergreenLibraryUpdate tries to run Get-EvergreenApp -Name MicrosoftVisualStudio it errors out, causing the whole of Invoke-EvergreenLibraryUpdate to stop. If one app within the Evergreen Library update process fails, and the erroraction is set to Continue, then the function should continue processing the rest of the Evergreen Library.

Also - Get-EvergreenApp -Name MicrosoftVisualStudio is just receiving 404s, verbose output attached below

Version

2307.816

What PowerShell edition/s are you running Evergreen on?

Windows PowerShell

Which operating system/s are you running Evergreen on?

Windows 10

Have you reviewed the documentation?

Verbose output

PS C:\WINDOWS\system32> Get-EvergreenApp -Name MicrosoftVisualStudioCode -Verbose
VERBOSE: Function path: C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1
VERBOSE: Function exists: C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1.
VERBOSE: Dot sourcing: C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1.
VERBOSE: Get-FunctionResource: read application resource strings from [C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Manifests\MicrosoftVisualStudioCode.json]
VERBOSE: Calling: Get-MicrosoftVisualStudioCode.
VERBOSE: Get-MicrosoftVisualStudioCode: Getting release info for win32.
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32/insider/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32/insider/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32/insider/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32/stable/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32/stable/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32/stable/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Get-MicrosoftVisualStudioCode: Getting release info for win32-user.
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32-user/insider/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32-user/insider/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32-user/insider/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32-user/stable/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32-user/stable/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32-user/stable/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Get-MicrosoftVisualStudioCode: Getting release info for win32-x64-user.
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32-x64-user/insider/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32-x64-user/insider/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32-x64-user/insider/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32-x64-user/stable/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32-x64-user/stable/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32-x64-user/stable/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Get-MicrosoftVisualStudioCode: Getting release info for win32-x64.
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32-x64/insider/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32-x64/insider/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32-x64/insider/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32-x64/stable/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32-x64/stable/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32-x64/stable/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Get-MicrosoftVisualStudioCode: Getting release info for win32-arm64.
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32-arm64/insider/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32-arm64/insider/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32-arm64/insider/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32-arm64/stable/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32-arm64/stable/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32-arm64/stable/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Get-MicrosoftVisualStudioCode: Getting release info for win32-arm64-user.
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32-arm64-user/insider/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32-arm64-user/insider/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32-arm64-user/insider/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UseBasicParsing: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [MaximumRedirection: 2].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [DisableKeepAlive: True].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [UserAgent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Method: Default].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [Uri: https://update.code.visualstudio.com/api/update/win32-arm64-user/stable/VERSION].
VERBOSE: Invoke-RestMethodWrapper: Invoke-RestMethod parameter: [ContentType: application/json; charset=utf-8].
VERBOSE: GET with 0-byte payload
>> TerminatingError(Invoke-RestMethod): "



Error


Cannot GET /api/update/win32-arm64-user/stable/VERSION


"
WARNING: Invoke-RestMethodWrapper: Error at URI: https://update.code.visualstudio.com/api/update/win32-arm64-user/stable/VERSION.
WARNING: Invoke-RestMethodWrapper: Error encountered: The remote server returned an error: (404) Not Found..
WARNING: Invoke-RestMethodWrapper: For troubleshooting steps see: https://stealthpuppy.com/evergreen/troubleshoot/.
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34 char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper
Invoke-RestMethodWrapper : Invoke-RestMethodWrapper: The remote server returned an error: (404) Not Found..
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Apps\Get-MicrosoftVisualStudioCode.ps1:34
char:27
+             $updateFeed = Invoke-RestMethodWrapper -Uri $Uri
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-RestMethodWrapper

PS C:\WINDOWS\system32> TerminatingError(): "Failed to capture output from: Get-MicrosoftVisualStudioCode."
>> TerminatingError(): "Failed to capture output from: Get-MicrosoftVisualStudioCode."
Failed to capture output from: Get-MicrosoftVisualStudioCode.
Failed to capture output from: Get-MicrosoftVisualStudioCode.
At C:\Program Files (x86)\WindowsPowerShell\Modules\Evergreen\2207.609\Public\Get-EvergreenApp.ps1:80 char:17
+                 throw "Failed to capture output from: Get-$Name."
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Failed to captu...sualStudioCode.:String) [], RuntimeException
    + FullyQualifiedErrorId : Failed to capture output from: Get-MicrosoftVisualStudioCode.
@bailey-mcquary bailey-mcquary added the bug Something isn't working label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant