Skip to main content
Participating Frequently
Nov 26, 2026 12:29 PM UTC
Question

ispasswordprotected getting issue

Hello Every One,

I'm facing an issue in my application where a CSV file is converted to Excel and then passed to the isPasswordProtected function. The function reports that the generated file is password-protected, but I can open the file without a password.

The same function works correctly when tested through a rule, but the issue occurs when the file is ingested through the process model. This happens only in the test environment.

Can anyone help me understand what might be causing this issue?

5 replies

shubhama926776
Brainy
Nov 26, 2026 12:37 PM UTC

Most probably the process user in Test doesn’t have access to the folder where the Excel is generated, so the plugin can’t read it and returns true. Give that user/group access to the folder (or run the node as the designer) and retest.

शुभम्
Participating Frequently
Nov 26, 2026 5:01 PM UTC

​@shubhama926776   this functionality is working as expected when we done the Development. But  Since last Month onwards this functionality is not working

stefanhelzle0001
Brainy
Nov 26, 2026 1:56 PM UTC

I do not understand why you check for password protection when you created the file yourself ?!?

Participating Frequently
Nov 26, 2026 4:59 PM UTC

we are receiving the file through email

mathieud0001
Genius
Nov 27, 2026 2:27 AM UTC

Not sure what use this function has but I would suggest you contact the authors of the plugin if you want more information on the implementation.