Timeout Error when running unattended robot

I’m getting the below error when running the process using unattended robot using triggers on a specified time.

Timeout reached.

at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Which activity is timing out? What is the automation doing? Show us code? You have to give useful info or nobody can help you.

@vaidhis_temp

Can you provide screenshot of your workflow? And if you not sure about which activity is failing
then you can just place the log message after the activities and check the logs from Orchestrator

This way you can check at which point the activity is failing

Thanks

Wouldn’t it be better to set the robot to verbose logging instead of cluttering the code with a bunch of Log Messages?

verbose logging is possible but will slow your automation down and fill up your log ledgers. Eventually, if you use a lot of verbose logs you will need to set up a SQL to clear your log ledgers or you will be unable to run automations or load transactions into queues.

I’m talking about turning it on for troubleshooting purposes. It’s there for that reason, yes?

Is there more to the error log message? Typically the piece you show us would be at the end of a string of information that gives us more detail about what is failing. It should be above the statement “End of exception detail stack trace”

Type Into Activity is throwing the error. I have a automation which logins to a web site. When typing the User Name using Type Into getting this error.

Try to increase the timeout and also check out the logs for specific exception message @vaidhis_temp

Thanks

Show us the Type Into Activity and its properties.

I suspect the selectors for the field need to be evaluated. It would be helpful if you can share the selectors? Also, are you using Orchestrator for your credentials?

TypeInto1

I can’t share the selector, yes I am using the Orchestrator for the credentials.

Hi @vaidhis_temp

So try tuning your selectors with different attributes and check it once

Regards
Gokul

Try setting SimulateType to True.

can you tell me how you are retrieving your credentials from Orchestrator? Also, if simulate click does not work after tuning your selector - try sending a windows message? Is this a chrome-based browser?

Lets make sure that you are retrieving the username and password from Orchestrator. Can you put in a write line activity to determine if the username is being retrieved after you get the credential? It is not impossible that the timeout is happening because there is nothing for the bot to type into username - it is waiting for something.

I am not retriving the credential from orchestrator. I have added my windows credential in orchetrator to work. It is chrome based browser.

I apologize, if I misunderstand, it is difficult without a view of what you are trying to do. If you have stored your Windows Credentials in Orchestrator as an asset, in order to utilize them in the automation as a username/password combination you will need to use a get credential activity in your schema. Is this how you are retrieving your login information from Orchestrator? If not, the bot is probably waiting for the information and is timing out because it does not have it.

The Type Into activity wouldn’t time out in this case. It would error because varCompanyID is nothing.