-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
alleged-bugBugs raised by people helpfully using the Bug Report template!Bugs raised by people helpfully using the Bug Report template!
Description
Describe the bug
With a few sensors, I get the following error message when querying the properties:
I see the same bug in #214 but ist must be a differnet error, it was in 2021
Steps to reproduce
get-sensor -id 26740 | Get-ObjectPropertyWhat is the output of 'Get-PrtgClient -Diagnostic'?
Get-ObjectProperty : Could not deserialize value 'DiscardResult' as it is not a valid member of type 'PrtgAPI.DebugMode'. Could not process XML '<injected_writeresult>DiscardResult</injected_writeresult>'.
At line:1 char:24
+ get-sensor -id 26740 | Get-ObjectProperty
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-ObjectProperty], XmlDeserializationException
+ FullyQualifiedErrorId : PrtgAPI.XmlDeserializationException,PrtgAPI.PowerShell.Cmdlets.GetObjectPropertyAdditional context
PSVersion : 5.1.14393.6343
PSEdition : Desktop
OS : Microsoft Windows Server 2016 Datacenter
PrtgAPIVersion : Unknown
Culture : en-US
CLRVersion : .NET Framework 4.8 (528049)
PrtgVersion : 24.2.94.1400
PrtgLanguage : english.lng
ModuleType Version Name ExportedCommands
Binary 0.9.19 PrtgAPI {Add-Device, Add-Group, Add-NotificationTrigger, Add-Sensor...}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
alleged-bugBugs raised by people helpfully using the Bug Report template!Bugs raised by people helpfully using the Bug Report template!