-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hello,
i'm getting this error when i run the script...
Invoke-WebRequest : {"error":"invalid_client"}
At C:\Scripts\NinjaTicketing.ps1:243 char:15
- ...
$Result = Invoke-WebRequest -uri "https://$ ($Script:Instance)/ws/oa ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
- FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
ConvertFrom-Json : Cannot bind argument to parameter 'InputObject' because it is null.
At C:\Scripts\NinjaTicketing.ps1:246 char:56
- ... uthorization' = "Bearer $(($Result.content | ConvertFrom-Json).access ...
-
~~~~~~~~~~~~~~~~- CategoryInfo : InvalidData: (:) [ConvertFrom-Json], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertFromJsonCommand
Metadata
Metadata
Assignees
Labels
No labels