Skip to content

Breaking Change 4.16 from 4.16 #81

Description

@C-huc-k

After updating my calls to update tickets throws the following error:

Invoke-CWMWebRequest: C:\Program Files\WindowsPowerShell\Modules\ConnectWiseManageAPI\0.4.16\Public\Invoke\Invoke-CWMNewMaster.ps1:44
Line |
44 | . $Result = Invoke-CWMWebRequest -Arguments $WebRequestArguments
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| An error has been thrown. --> --> Cannot follow an insecure redirection by default. Reissue the command
| specifying the -AllowInsecureRedirect switch. at Invoke-CWMWebRequest, C:\Program
| Files\WindowsPowerShell\Modules\ConnectWiseManageAPI\0.4.16\Public\Invoke\Invoke-CWMWebRequest.ps1: line 45 at
| Invoke-CWMNewMaster, C:\Program
| Files\WindowsPowerShell\Modules\ConnectWiseManageAPI\0.4.16\Public\Invoke\Invoke-CWMNewMaster.ps1: line 44 at
| New-CWMScheduleEntry, C:\Program
| Files\WindowsPowerShell\Modules\ConnectWiseManageAPI\0.4.16\Public\Schedule\ScheduleEntries\New-CWMScheduleEntry.ps1: line 33 at ,

Rolling back to 4.14 seems to resolve. The error makes me think I want to stop using insecure redirects but my skills do not run deep enough for me to resolve.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions