Just use Retry Scope activity and put your retriable code inside it. You can set how many times this should be retried and after how much time interval.
Please refer to the post below. Is the connectivity stable? The issue only occurs intermittently. If it were a firewall restriction, the error should occur consistently.
Possibly is not detecting Proxy Configuration (Log):
[ERROR] [UiPath.Studio.exe] [10] Error performing DetectControls2: System.AggregateException: One or more errors occurred. —> System.AggregateException: One or more errors occurred. —> System.Net.Http.HttpRequestException: An error occurred while sending the request. —> System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
.config files have proxy configurations and all is working well.
Thank you for your advice, I tried to put the code into a retry scope but the automation still stops when encountering the error.
I’m not sure if I set it up correctly:
In the retry scope properties I put “Continue on error” as True, Number of retries 10 and Retry interval 1 minute.
For the code inside the Retry scope, I put both the CV screen scope and the CV extract table “Continue on error” False. Not sure if that is the problem?