modery / PowerDocu

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

Error documenting a Power Automate solution #138

Open Andreas-CloudToolkit opened 9 months ago

Andreas-CloudToolkit commented 9 months ago

Describe the bug

I'm running V 2.0.0 on a .NetCore 8.0.2 framework and tried wo use with an Power Automate solution. Altogether there are 9 flows inside the solution and the failure within the 4th flow. The files "flow.png" are available, the "flow-detailed.png" isn't. So it's failing in between. grafik

I tried to debug the code without being familiar with C#. Please forgive me if I describe the following details that are not relevant for troubleshooting. But due to the lack of knowledge with C#, I can not judge whether information is relevant or not. However, to make troubleshooting easier for you, I have documented all the details I have found out.

There are two exception which have been reported.

The first exception applies multiple time and is caused within jsonutil.cs line 17 when calling jsonWriter.WriteToken(jsonReader). It is failing when the variable "Path" contain "[0].or[0].not" or "[0].not". If the string is empty "" there is no exception.

grafik

grafik

The second exception that causes the programme to be interrupted is related to GraphBuilder.cs line 94. I already replaced the German umlauts (ä, ö and ü) inside the flow names. But this won't solve the problem.

grafik

grafik

Please let know if further information is required to solve the problem

Thanks a lot for this great tool and your support!

Andreas