-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I'm just starting to dive into your module - first snag.
On first run, I did a set-GLAPIConfig with the URL and a token from your convert token tool.
My string works in an invoke-restmethod but I get:
Write-Error : Cannot bind argument to parameter 'Exception' because it is null.
At C:\Program Files\WindowsPowerShell\Modules\PSGraylog\Release\PSGraylog\public\Get-GLCluster.ps1:47 char:36
+ Write-Error -Exception $Error[0].Exception -Message $Erro ...
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Write-Error], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.WriteErrorC
ommand
Metadata
Metadata
Assignees
Labels
No labels