-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Prerequisites
Put an X between the brackets on each line to confirm you have completed them:
- The issue is still present in the latest version of the module.
- The issue has not been previously reported.
Describe the bug
Disconnect-TdService throws an exception.
To Reproduce
Connect to TOPdesk with a valid operator and application password.
Call Disconnect-TdService.
Expected behavior
The command executes without error.
Screenshots or Transcripts
Disconnect-TdService
Invoke-RestMethod : Object reference not set to an instance of an object.
At C:\Program Files\WindowsPowerShell\Modules\TOPdeskPS\0.1.5\TOPdeskPS.psm1:2861 char:19
-
$result = Invoke-RestMethod @parameter -ErrorAction Stop -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (:) [Invoke-RestMethod], NullReferenceException
- FullyQualifiedErrorId : System.NullReferenceException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Additional context
Maybe we don't need to disconnect. Feel free to let me know and just go ahead and close this issue if that's the case. :)
Metadata
Metadata
Assignees
Labels
No labels