Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security error. Parameter is not valid. #71

Closed
Adterania opened this issue Jan 10, 2023 · 5 comments
Closed

Security error. Parameter is not valid. #71

Adterania opened this issue Jan 10, 2023 · 5 comments

Comments

@Adterania
Copy link

The tool was awesome and it definitely helps a lot.

I am trying to run it on a solution and I have encountered this issue.

Screenshot 2023-01-10 141652

@modery
Copy link
Owner

modery commented Jan 10, 2023

Hi @Adterania , do you have any video or audio files in any of your apps inside that solution? Just realised that I am not handling them yet, thus they should throw this kind of error

@modery
Copy link
Owner

modery commented Jan 10, 2023

Hi @Adterania , do you have any video or audio files in any of your apps inside that solution? Just realised that I am not handling them yet, thus they should throw this kind of error

Wait, I think they get ignored. But either way, can you actually open make.powerapps.com and check inside the Media section of your app(s) what kind of resources you have there? I'm curious if it's a "broken image" that's causing this problem, or if it's something else
image

@Adterania
Copy link
Author

Hi Rene, Thank your the information. There are no audio and video in the media however there are some Javascript code added as web resource. I am not sure if this is the one causing the error. The solution I ran have both canvas and MDA which it able to document the apps and flows. All good from my end and your tool is definitely a huge help.

@modery
Copy link
Owner

modery commented Jan 14, 2023

Not entirely sure why it breaks for you, but I was able to replicate the behaviour (approximately) by adding "broken media files" (that is, items added as JPG files, but they aren't valid images) to an app.
Added some extra code to handle such problems, the documentation will include a comment saying "Resource Preview is not available, media file is invalid." if it encounters such a problem
image

This fix will be included in the next release

modery added a commit that referenced this issue Jan 14, 2023
@modery
Copy link
Owner

modery commented Jan 26, 2023

Latest release is now available: https://github.com/modery/PowerDocu/releases/tag/v-1.1.0

@modery modery closed this as completed Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants