Skip to content

invalid continuation byte  #6

@kiedtl

Description

@kiedtl

When I used the sample code on your README, Invoke-RestMethod fails with the following error:

Invoke-RestMethod : {"error":"Bad data decoding request (UnicodeDecodeError, 'utf8'
codec can't decode byte 0xd7 in position 124746: invalid continuation byte)"}
At C:\Users\blah\mouse\lib\ravenclient.ps1:63 char:9
+         Invoke-RestMethod -Uri $this.storeUri -Method Post -Body $jso ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebR
   equest) [Invoke-RestMethod], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Co
   mmands.InvokeRestMethodCommand

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