ErrorHandling.ps1: C:\Users\imanjula\OneDrive - RWS\Documents\PowerShell\Modules\Th
/ycotic.SecretServer\0.61.1\functions\secrets\New-TssSecret.ps1:84
Line |
84 | . $ErrorHandling $err
| ~~~~~
| A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using
| ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. Path:
| $.Members.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.OverloadDefinitions.
/
Please run the command using -Verbose
84 | . $ErrorHandling $err
| ~~~~~
| A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using
| ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. Path:
| $.Members.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.OverloadDefinitions.
Provide a test case or steps to reproduce
with lower version of SS 0.61.0 is good
Expected behavior
new secret would be created
What Edition of Secret Server?
Cloud Subscription
What version of Secret Server
Secret Server Cloud
What PowerShell host was used when producing this error
Verified issue does not already exist?
Yes
What error did you receive
ErrorHandling.ps1: C:\Users\imanjula\OneDrive - RWS\Documents\PowerShell\Modules\Th /ycotic.SecretServer\0.61.1\functions\secrets\New-TssSecret.ps1:84 Line | 84 | . $ErrorHandling $err |
~~~~~ | A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using | ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. Path: | $.Members.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.OverloadDefinitions. /Please run the command using -Verbose
84 | . $ErrorHandling $err |
~~~~~ | A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using | ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. Path: | $.Members.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.Value.OverloadDefinitions.Provide a test case or steps to reproduce
with lower version of SS 0.61.0 is good
Expected behavior
new secret would be created
What Edition of Secret Server?
Cloud Subscription
What version of Secret Server
Secret Server Cloud
What PowerShell host was used when producing this error
PowerShell Core (pwsh)
PowerShell Host Version
7.5