'VisualBasicValue<Object>': Compiler error(s) encountered processing expression "FoundElement"

UiPath Version: 2022.10.3

The Office365 SendMail or GetMail Activities are not working. Getting the below error, It was working earlier, we had changed to modern authentication. The issue is happening in production sites. Request you to please suggest what needs to be done for this issue:

The following errors were encountered while processing the workflow tree:
‘VisualBasicValue’: Compiler error(s) encountered processing expression “FoundElement”.
‘FoundElement’ is not declared. It may be inaccessible due to its protection level.

Send Mail: Code: generalException
Message: An error occurred sending the request.

This issue re-occured again…each time the System password or the Outlook password is changed, we face this issue, after renaming the outlook365 file it works fine. Please take a look at this issue, as this happens at customer site whenever they modify their system or outlook password.

For production issues, you should reach out to our technical support.

After renaming the old Office365 tokens cache file in Uipath Apps → roaming —> Authentiction folder,and rerunning the Uipath flow for Office 365 authentication, solved the issue. A new office 365 token file was created by default.

Emails are going out fine.

1 Like

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