ironmansoftware / powershell-universal

Issue tracker for PowerShell Universal
https://powershelluniversal.com
35 stars 2 forks source link

http://localhost:5000/admin/apis/docs - An error occured. Converting circular structure to JSON #3607

Closed mikedhanson closed 3 weeks ago

mikedhanson commented 3 weeks ago

Version

5.0.0

Severity

Low

Environment

msi

Steps to Reproduce

Clicking view on the "Endpoint Documentation" brings up a new window but when you navigate back to the main page you get the following error

image

An error occured. Converting circular structure to JSON --> starting at object with constructor 'Window' --- property 'window' closes the circle TypeError: Converting circular structure to JSON --> starting at object with constructor 'Window' --- property 'window' closes the circle at JSON.stringify () at T (http://:5000/_framework/blazor.server.js:1:6864) at http://:5000/_framework/blazor.server.js:1:3076

Expected behavior

no error

Actual behavior

Error

Additional Environment data

No response

Screenshots/Animations

No response