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 Automate
Answered

Power App error

(0) ShareShare
ReportReport
Posted on by 8

Have anyone faced the issue with the Dynamic Content expression "an embedded page at australia.flow.microsoft.com says The expression is invalid in power automate"?

Shahin_Akhter_0-1674012514008.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Shahin_Akhter 

     

    You should remove the @ before length.
    Regarding the usage of length, I think this link will help you:

    Power Automate: length Function - Manuel T. Gomes (manueltgomes.com)

     

    Best Regards,

    Levi

  • Shahin_Akhter Profile Picture
    8 on at

    Hi Levi,

     

    Thanks for the response.

    I have tried that earlier, didn't work.  This error appears whenever i try to parse the output/ body of the previous step

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Shahin_Akhter 

     

    You should fill in the correct parameter in length.
    The purpose of the length function is to return the number of items in the array, so you should refer to an array in length.

     

    Best Regards,

    Levi

  • Shahin_Akhter Profile Picture
    8 on at

    Hi Levi,

    This is what I tried now - 

    length(outputs('Html_to_text')).
    Still the same error. Not sure if I am missing any syntax in the exprssion.
  • Shahin_Akhter Profile Picture
    8 on at

    Hi Levi,

    My issue is the error appear whatever function I use to process - outputs('Html_to_text') from previous step.

    Like even split(utputs('Html_to_text')).

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Shahin_Akhter 

     

    Please use: length(body('Html_to_text'))

     

    Best Regards,

    Levi

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Shahin_Akhter 

     

    The length function can also be used to check the string length, your problem is a wrong reference to Html to text.

     

    Best Regards,

    Levi

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard