Hello, i got the following error when extracting (trying) the data from a webpage.
Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Failed to extract data (web page error while extracting data). ---> System.Exception: Data extraction element not found.
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.GetExtractionResults(Stopwatch stopwatch, Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.InvokeExtraction(Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.Extract(Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.DataExtraction.Engine.WebDataExtractionEngine`1.AttemptExtraction(ICollection`1 resultsList, WebActionRetryParameters retryParameters, Int32 attempts, Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.DataExtraction.Engine.WebDataExtractionEngine`1.<>c__DisplayClass4_0.<ExtractElementData>b__1(Int32 attempts)
at Microsoft.Flow.RPA.Desktop.Robin.Shared.Runtime.Utilities.Clock[T](Int64 maxMillisecondsToWait, Int32 step, Func`1 action, Func`2 successCondition)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ClockActionPeriodicRunner.Run(Func`2 func, TimeSpan pediod)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebPager.WebPageEnumerator.ForEachPage(WebBrowserInstanceHandle browserInstance, WebPagerParameters pagerParameters, WebActionRetryParameters navigationRetryParameters, Action action)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.DataExtraction.Engine.WebDataExtractionEngine`1.ExtractElementData(WebBrowserInstanceHandle browserHandle, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.DataExtraction.WebDataExtractionActions.ExtractSingleValueFromWebPageAction(WebBrowserInstanceHandle webBrowserInstance, WebExtractionSelector extractionSelector, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
Hi
Having the same issue on forexfactory website after using it for more than a year without problems! You think you can help me out? I made a timer to extract every time a new event comes out on forexfactory to load it into excell. Now it gives following error
Correlatie-id: 8ee5fd86-ee81-49f8-aaab-e8df60f6ae76
Data extraction element not found.: Microsoft.Flow.RPA.Desktop.Modules.SDK.Extended.Exceptions.InternalActionException: Extraheren van gegevens is mislukt (webpaginafout bij ophalen van gegevens). ---> System.Exception: Data extraction element not found.
bij Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.GetExtractionResults(Stopwatch stopwatch, Nullable`1 timeout)
bij Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.InvokeExtraction(Nullable`1 timeout)
bij Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.Extract(Nullable`1 timeout)
bij Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.DataExtraction.Engine.WebDataExtractionEngine`1.AttemptExtraction(ICollection`1 resultsList, WebActionRetryParameters retryParameters, Int32 attempts, Nullable`1 timeout)
bij Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.DataExtraction.Engine.WebDataExtractionEngine`1.<>c__DisplayClass4_0.<ExtractElementData>b__1(Int32 attempts)
bij Microsoft.Flow.RPA.Desktop.UIAutomation.Core.Utilities.Clock.Execute[T](TimeSpan timeout, TimeSpan period, Func`1 action, Func`2 successCondition)
bij Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.DataExtraction.ClockActionPeriodicRunner.Run(Func`2 func, TimeSpan pediod)
bij Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.DataExtraction.WebPager.WebPageEnumerator.ForEachPage(IWebAutomationBrowser browser, WebPagerParameters pagerParameters, WebActionRetryParameters navigationRetryParameters, Action action)
bij Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.DataExtraction.Engine.WebDataExtractionEngine`1.ExtractElementData(IWebAutomationBrowser browser, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
bij Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.Actions.LocalWebAutomationRuntime.ExtractEntireHtmlTableFromWebPage(WebBrowserInfo webBrowserInfo, WebExtractionSelector tableSelector, IEnumerable`1 columnNames, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.WebAutomationRuntimeRouter.Invoke(MethodInfo targetMethod, Object[] args)
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
bij generatedProxy_3.ExtractEntireHtmlTableFromWebPage(WebBrowserInfo , WebExtractionSelector , IEnumerable`1 , WebPagerParameters , WebActionRetryParameters , Nullable`1 )
--- Einde van externe uitzonderingsstack-trace ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.GetRemoteResultOrThrow(ISerializer serializer, RPCMessage response, Type expectedResultType, Object additionalContext)
bij Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.Invoke(MethodInfo targetMethod, Object[] args)
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bij System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
bij generatedProxy_2.ExtractEntireHtmlTableFromWebPage(WebBrowserInfo , WebExtractionSelector , IEnumerable`1 , WebPagerParameters , WebActionRetryParameters , Nullable`1 )
bij Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.<>c__DisplayClass11_0.<ExtractEntireHtmlTableFromWebPage>b__0(IWebAutomationRuntime s)
bij Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ExecuteSafe[T](Func`2 action, TimeSpan timeout)
bij Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ExtractEntireHtmlTableFromWebPage(WebBrowserInfo webBrowserInfo, WebExtractionSelector tableSelector, IEnumerable`1 columnNames, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
bij Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.<>c__DisplayClass57_0.<Execute>b__4(IWebAutomationRuntime s)
bij Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationActionBase.PerformWebAutomationWithLogging[T](Func`2 action, WebAutomationRuntimeLogData requestData, Func`3 resultData)
bij Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.Execute(ActionContext context)
--- Einde van intern uitzonderingsstackpad ---
bij Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.Execute(ActionContext context)
bij Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
It says "Data extraction element not found"
Please try to use the Extract date from webpage once again and recapture the data you want to extract.
Also you are using Sendkeys.
Use Wait stages wherever needed.
Make sure the screen is available for PAD when "Extract data from webpage" happens.
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2