Error[Compiler error(s) encountered processing expression "System.IO.Directory.GetFiles(ConfigDict(""))".(2) : error BC30451: 'ConfigDict' is not declared. It may be inaccessible due to its protection level.]

I’m trying to unzip the file but I encounter this error: Compiler error(s) encountered processing expression “System.IO.Directory.GetFiles(ConfigDict(”“))”.(2) : error BC30451: ‘ConfigDict’ is not declared. It may be inaccessible due to its protection level.

Anyone know how to fix it?

Hi @RPA_Innovation ,

As the error mentions, The variable ConfigDict is not declared or the variable is not available for that particular scope. You could change up to the scope wherever the variable is needed if already the variable is declared.

If not declared, you would need to create the variable of the required type.

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