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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error while trying to ...
Power Automate
Unanswered

Error while trying to get mail body to excel

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I'm trying to write an expression that will extract the value of the 23.24M (it's a variable and can be changed) in the following sentence and add it to an excel sheet -

"Bandwidth Limit Exceeded: Your current bandwidth usage has reached 23.24M, surpassing your contract limit of 20M."

 

I've created the following expression - trim(split(split(variables('inputSentence'), 'has reached ')[1], ',')[0])

But I got the following error - 

Flow save failed with code 'InvalidVariableOperation' and message 'The inputs of workflow run action 'Add_a_row_into_a_table' of type 'OpenApiConnection' are not valid. The variable 'inputSentence' must be initialized before it can be used inside action 'Add_a_row_into_a_table'.'.

 

Any idea why? Any help?

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @erezyash  As per the error, Pls initialize your variable which you have used in the expression.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @erezyash  As per the error, Pls initialize your variable which you have used in the expression.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • erezyash Profile Picture
    2 on at

    Thanks. 

    What does it mean "The variable 'inputSentence' must be initialized"? how can I do 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!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard