modery / PowerDocu

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

Error: not well-formed (invalid token) #136

Closed ZebrienaR closed 3 months ago

ZebrienaR commented 9 months ago

Describe the bug I'm trying to use 2.0.0 version, but as soon as I try opening flow's zip file I get an error:

Error message: Process exited with code 1. Error details: Error: not well-formed (invalid token) in line 1

I'm using Lithuanian language in my action notes. I tried removing those special letters, but it didn't change, I got the same error. I tried using 1.2.4 version on the same flow and it worked without a problem.

To Reproduce Steps to reproduce the behavior:

  1. Run PowerDocu.GUI
  2. Select any Zip flow
  3. Error occurs

Expected behavior Solution documentation is created.

Screenshots image

modery commented 9 months ago

"I'm using Lithuanian language in my action notes. I tried removing those special letters, but it didn't change, I got the same error." That was what I first suspected upon seeing your screenshot. I succeeded with my test Flows that contain a range of other characters (French, German, random other stuff), but I don't think they're in the action nodes. Will try to update them and see if it fails for me

Do other Flows actually get documented successfully?

ZebrienaR commented 9 months ago

Hi,

I tried using different flows, with and without comments - no problems. Then I ran the same flow that gave this error, and it worked.  I tried running it multiple times, but the error didn't appear once. I don't know where the problem was the first time.

modery commented 3 months ago

Closing as problem disappared. In case a problem occurs again, please open a new issue