Manage PDF Password: The type initializer for 'UiPath.PDF.PdfReader' threw an exception

Hello,

When reading a PDF file which is password protected, we got the following exception:
Manage PDF Password: The type initializer for ‘UiPath.PDF.PdfReader’ threw an exception

Any thoughts?

@l.wang,

Check the passwords are being pass correctly and also try to use latest package version.

Thanks,
Ashok :slight_smile:

Thank you for your quick response. Let me check out.

1 Like

After using higher version of the package, the error was gone. Thank you very much for your help!

1 Like

@l.wang ,

Glad I’m able to help. Kindly mark my answer as solution so it will be helpful to other community members as well.

Thanks,
Ashok :slightly_smiling_face:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.