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 webp...
Power Automate
Unanswered

Extract data from webpage produces syntax error

(0) ShareShare
ReportReport
Posted on by 9

The exact error is: Parameter 'Extraction parameters': Syntax error.

 

I'm going to https://finance.yahoo.com/quote/IJT/holdings in MS Edge and extracting the top 10 holdings table to the default variable of %DataFromWebPage%. I can't seem to get it as a table, but extracting as entire HTML table works, but gives the syntax error immediately, not even at runtime. I can't figure out what else to do. There don't seem to be any choices from the PAD UI.

 

Any thoughts?

I have the same question (0)
  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    Do you need the table or just the data?

    Highboy_2-1639163883601.png


    Another example

    Highboy_3-1639163902011.png

     

     

    --- Paste into Pad ---

    WebAutomation.LaunchEdge.LaunchEdge Url: $'''https://finance.yahoo.com/quote/IJT/holdings?guccounter=1''' WindowState: WebAutomation.BrowserWindowState.Maximized ClearCache: False ClearCookies: False Timeout: 60 BrowserInstance=> Browser
    WebAutomation.ExtractData.ExtractTable BrowserInstance: Browser Control: $'''html > body > div:eq(0) > div > div > div:eq(0) > div > div:eq(2) > div:eq(0) > div > div:eq(0) > div > div > section > div:eq(3) > table > tbody > tr''' ExtractionParameters: {[$'''td:eq(0)''', $'''Own Text''', $'''''', $'''Name'''], [$'''td:eq(1) > a''', $'''Own Text''', $'''''', $'''Symbol'''], [$'''td:eq(2)''', $'''Own Text''', $'''''', $'''Assets'''] } ExtractedData=> DataFromWebPage
    WebAutomation.ExtractData.ExtractTable BrowserInstance: Browser Control: $'''html > body > div:eq(0) > div > div > div:eq(0) > div > div:eq(2) > div:eq(0) > div > div:eq(0) > div > div > section > div:eq(3) > table > tbody > tr''' ExtractionParameters: {[$'''td:eq(0)''', $'''Own Text''', $'''''', $'''Name'''], [$'''td:eq(1) > a''', $'''Own Text''', $'''''', $'''Symbol'''], [$'''td:eq(1) > a''', $'''Href''', $'''''', $'''URL'''], [$'''td:eq(2)''', $'''Own Text''', $'''''', $'''Assets'''] } ExtractedData=> DataFromWebPage2

  • PAD_Charles Profile Picture
    9 on at

    I forget how to get to the area where you can paste in code. This is power automate desktop, not web.

    PAD_Charles_0-1639253949236.png

     

    PAD_Charles_1-1639254027377.png

     

     

  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    ?? Did you not want the answer for PAD?

    Otherwise you have posted in the wrong forum.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    You just copy the text and paste it right into a subflow. It will show up as actions. 

  • PAD_Charles Profile Picture
    9 on at

    Cool. I didn't know you can paste code into the window. Thanks!

     

    I did that and still get the same syntax error. Oh well, I'll keep looking into 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard