Skip to content

Invoke-WebRequest: The error message is damaged beyond repair #13251

@yecril71pl

Description

@yecril71pl

Steps to reproduce

iwr 'http://github-production-release-asset-2e65be.s3.amazonaws.com/'

Expected behavior

Invoke-WebRequest: Forbidden

Error:
    Code: AccessDenied
    Message: Access Denied
    RequestId: 229E67C9F0B26053
    HostId: kUI8bnH/eZxSAjznVy7+RQpaBv1yHVAP7w9Vh/Z2LYdrrPfn1E8E3y176OHzhKwwdkRMZ0RygbQ=

Actual behavior

Invoke-WebRequest:
AccessDeniedAccess Denied4GEN7KFG5Q8QAT8J/8ZJ9JizWnxWHeo0m3wU/rl7Kh7xzbV89arVlDlaSbYwEGELtFblhWEQAKxeaWmeY61sUti5ISk=

Environment data

Name                           Value
----                           -----
PSVersion                      7.0.3
PSEdition                      Core
GitCommitId                    7.0.3
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Hacktoberfest-AcceptedAccepted to participate in HacktoberfestIssue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions