modery / PowerDocu

Generate technical documentation from your existing Power Automate Flows and Power Apps canvas apps
MIT License
441 stars 73 forks source link

Deep JSON causes an error (MaxDepth in Newtonsoft.Json) #17

Closed modery closed 3 years ago

modery commented 3 years ago

A Flow with a lot of nested actions can cause an error: image

Cause for this: "In Json.NET 13.0.1, Newtonsoft changed the default MaxDepth for JsonReader (and hence all derived reader types including JsonTextReader) to 64:" (https://stackoverflow.com/questions/68576787/newtonsoft-getting-the-readers-maxdepth-of-64-has-been-exceeded-error-while)

modery commented 3 years ago

Increased the limit to 128 in https://github.com/modery/PowerDocu/commit/e25e75fa2074e56916012c98afa5bd92ad215528