Invalid UI Node in applicatiion

I am printing data from a table in the mail file to the desktop application. Since there are more than one mail file, it successfully prints all the data in the first mail file and clicks the “Add” button to save it. When pressing the “Add” button after printing the second data, it gives the error below.

RemoteException wrapping UiPath.Core.InvalidUiElementException: Invalid UI node. at UiPath.Core.Activities.ObsoleteTaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) — End of stack trace from previous location where exception was thrown — at UiPath.UIAutomationNext.Activities.NApplicationCard.OnFault(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)

Hello @Sefa_Karakus

Can you please share the screenshot of the applciation?


Is this click activity provided inside the application scope of the application and can you confirm the selector is valid?


can you try retain the button name and remove the unwanted attributes and do a validation?


ı did nothing changes