web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : MT25/HTd1G2DJp9M3q7cXR
Power Automate - Power Automate Desktop
Unanswered

Failed to extract data (web page error while extracting data).

Like (0) ShareShare
ReportReport
Posted on 21 Dec 2022 12:29:38 by

Hello, i got the following error when extracting (trying) the data from a webpage.

 

Smity_0-1671625636247.png

 

 

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)

  • ief Profile Picture
    9 on 01 Jan 2024 at 13:36:18
    Re: Failed to extract data (web page error while extracting data).

    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)

  • VJR Profile Picture
    7,635 on 22 Dec 2022 at 04:15:10
    Re: Failed to extract data (web page error while extracting data).

    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.

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete