Issue in Invoke method

My project worked before without error and today they try to run it I got error message from invoke
Skärmklipp
error bc30456: codepagesencodingprovider is not a member of system.text. I wonder what has happened to UiPath when you suddenly get an error.
Appreciate if I can get some help here

Hey @araz_davlund1 ,

Check if all the required namespaces are imported or not. You might have migrated your project if that is the case you have to import the namespace.

Thanks,
Sanjit Pal

1 Like

Hi @araz_davlund1

The following thread deals with a similar issue of error bc30456. Hope this will help you with some insights:

Best Regards.

2 Likes

Thanks Arjun, The solution was to add Assign with System.Text.CodePagesEncodingProvider.Instance before invoking and now works for me.
Best Regards.

1 Like

@araz_davlund1

Glad you figured it out. Happy Automation!

Best Regards.

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