Click Activity throwing Aggregate Exception(One or more error Occured)


#1

Hi guys,
I am Facing the error as One or more error occurred and exception as Aggregate exception
while processing click activity.
I don’t know why these error happened.
if any one having knowledge about that error. plz share here why its occurred and how to resolve that.

Regards
Hemanth


#2

I am also having same issue, have click activity inside a for-each , it works for 2 to 3 iteration but after that get below exception

process has thrown an exception

Source: Click ‘BUTTON’

Message: One or more errors occurred.

Exception Type: AggregateException

System.AggregateException: One or more errors occurred. —> System.ArgumentException: Value does not fall within the expected range.
at UiPath.UiBrowserClass.get_node()
at UiPath.Core.Browser.get_Element()
at UiPath.Core.Activities.Target.<>c__DisplayClass33_0.b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
— End of inner exception stack trace —
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)
—> (Inner Exception #0) System.ArgumentException: Value does not fall within the expected range.
at UiPath.UiBrowserClass.get_node()
at UiPath.Core.Browser.get_Element()
at UiPath.Core.Activities.Target.<>c__DisplayClass33_0.b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<—


#3

This is really Browser dependent. Just as the behavior of the browser changes as a manual person clicks the same button repeatedly (due to cookies, trackers, etc) when the robot clicks the same button repeatedly the browser will behave differently.

A simple workaround I have found is to simply use the Refresh Page activity for that page to reload the browser, but there may be other solutions based on unique cases.


#4

I have it on for a send email activity, no browser involved…


#5

and i have for reading PDF no browser involved either


#6

Please click details on error message and share the error screenshot. :slightly_smiling_face: