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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract data from webs...
Power Automate
Unanswered

Extract data from website / bug?

(0) ShareShare
ReportReport
Posted on by 4

Hello,

Recently, I created the flow that extracts data from website. It worked for 2 days, but now it stopped working... I tried to setup again via this 'tool': setup correctly, all my data was visible in this preview

ktatar156_0-1704447509495.png

- but when I start workflow, it stops on extracting data 😞

 

Identyfikator korelacji: 287793dc-a89c-485e-a4d9-8b30a102f5ad

Data extraction element not found.: Microsoft.Flow.RPA.Desktop.Modules.SDK.Extended.Exceptions.InternalActionException: Nie można wyodrębnić danych (błąd strony internetowej podczas wyodrębniania danych). ---> System.Exception: Data extraction element not found.
 w Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.GetExtractionResults(Stopwatch stopwatch, Nullable`1 timeout)
 w Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.InvokeExtraction(Nullable`1 timeout)
 w Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.Extract(Nullable`1 timeout)
 w Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.DataExtraction.Engine.WebDataExtractionEngine`1.AttemptExtraction(ICollection`1 resultsList, WebActionRetryParameters retryParameters, Int32 attempts, Nullable`1 timeout)
 w Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.DataExtraction.Engine.WebDataExtractionEngine`1.<>c__DisplayClass4_0.<ExtractElementData>b__1(Int32 attempts)
 w Microsoft.Flow.RPA.Desktop.UIAutomation.Core.Utilities.Clock.Execute[T](TimeSpan timeout, TimeSpan period, Func`1 action, Func`2 successCondition)
 w Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.DataExtraction.ClockActionPeriodicRunner.Run(Func`2 func, TimeSpan pediod)
 w Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.DataExtraction.WebPager.WebPageEnumerator.ForEachPage(IWebAutomationBrowser browser, WebPagerParameters pagerParameters, WebActionRetryParameters navigationRetryParameters, Action action)
 w Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.DataExtraction.Engine.WebDataExtractionEngine`1.ExtractElementData(IWebAutomationBrowser browser, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
 w Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.Actions.LocalWebAutomationRuntime.ExtractTableFromWebPage(WebBrowserInfo webBrowserInfo, IEnumerable`1 extractionSelectors, String baseCssSelector, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
--- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
 w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 w Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.WebAutomationRuntimeRouter.Invoke(MethodInfo targetMethod, Object[] args)
--- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
 w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 w System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
 w generatedProxy_3.ExtractTableFromWebPage(WebBrowserInfo , IEnumerable`1 , String , WebPagerParameters , WebActionRetryParameters , Nullable`1 )
--- Koniec śledzenia stosu wyjątków zdalnych ---
 w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 w Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.GetRemoteResultOrThrow(ISerializer serializer, RPCMessage response, Type expectedResultType, Object additionalContext)
 w Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.Invoke(MethodInfo targetMethod, Object[] args)
--- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
 w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 w System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
 w generatedProxy_2.ExtractTableFromWebPage(WebBrowserInfo , IEnumerable`1 , String , WebPagerParameters , WebActionRetryParameters , Nullable`1 )
 w Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.<>c__DisplayClass15_0.<ExtractTableFromWebPage>b__0(IWebAutomationRuntime s)
 w Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ExecuteSafe[T](Func`2 action, TimeSpan timeout)
 w Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ExtractTableFromWebPage(WebBrowserInfo webBrowserInfo, IEnumerable`1 extractionSelectors, String baseCssSelector, WebPagerParameters pagerParameters, WebActionRetryParameters retryParameters, Nullable`1 timeout)
 w Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.<Execute>b__57_3(IWebAutomationRuntime s)
 w Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationActionBase.PerformWebAutomationWithLogging[T](Func`2 action, WebAutomationRuntimeLogData requestData, Func`3 resultData)
 w Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.Execute(ActionContext context)
 --- Koniec śladu stosu wyjątków wewnętrznych ---
 w Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.ExtractData.Execute(ActionContext context)
 w Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 

 

  • eetuRobo Profile Picture
    4,607 Super User 2026 Season 2 on at

    Are you certain that the flows browser instance is in the same page you took the data extraction.
    Maybe the page is too dynamic and the element is changing a lot and that's why it cant get the data when the page refreshes.

    Can you try using "Get details of element on web page" -action. Then if the element is changing you can test it with the UI element Selector and repair it if it changes in every refresh

    eetuRobo_0-1704453391646.png

     

  • ktatar156 Profile Picture
    4 on at

    Yes, I'm sure. And sometimes, when I open that website with live selection - it reads data on preview 😕

     

    Hmmm... I'm don't know if I read this correctly - for extract data

    ktatar156_0-1704455025571.png

    and in details of element on web page:

    ktatar156_1-1704455077865.png

    Seems to look similar (except these 'eq'...)

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    'eq' indicates an ordinal value - i.e. the sequential number of an element of the same type (div) under the same parent. If a single div has several child div elements, and you do not provide an ordinal value, PAD will target the first one by default (at index 0). If there is an ordinal value (in eq()), it will target that specific element.

     

    So, if it does change, it means that your page is in fact dynamic and the element you're targeting is not always at the same spot.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • ktatar156 Profile Picture
    4 on at

    Thanks! I removed just last eq(1) and it works (but I' not sure why for 100%) 🙂

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    eq(1) means you were targeting the 2nd element in there, but it may be that sometimes the 2nd element doesn't exist, causing your flow to fail.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard