Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Action in a Flow suddenly throws error

(0) ShareShare
ReportReport
Posted on by 32

I did some small changes in a Flow on an action that sends an email.

After saving the Flow a total unrelated action (that gets a SharePoint list item) is throwing this error.

 

Unable to process template language expressions in action 'Get_item' inputs at line '1' and column '2234': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline_1']['connectionId']' cannot be evaluated because property 'shared_sharepointonline_1' doesn't exist, available properties are 'shared_sharepointonline, shared_office365'. Please see https://aka.ms/logicexpressions for usage details.'.

 

The strange thing is:

  • did not touch that Get SharePoint Item action ... it just started throwing the error without changes by me
  • have no way to set/change/influence the value 'shared_sharepointonline_1'
  • deleted the action and recreated it and end up with the same error

How can I get my Flow working again, please ?

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Action in a Flow suddenly throws error

     

    Hi @heldry ,

     

    Please check this article and get more details about it:

    https://support.microsoft.com/en-us/help/4477072/best-practices-updating-a-flow-used-by-a-powerapp

     

    Best Regards,

  • heldry Profile Picture
    32 on at
    Re: Action in a Flow suddenly throws error

    Hi Barry,

     

    yes, the PowerApps button is the trigger for the Flow.

     

    As per your advise I removed the connection to the Flow from PowerApp and added it again ... and everything is fine now 🙂

     

    But I'm honesly struggling to understand why updating one action in a Flow triggers that issue and why re-creating the connection in PowerApps fixes the Flow issue. Can you please share more background on this.

  • v-bacao-msft Profile Picture
    on at
    Re: Action in a Flow suddenly throws error

     

    Hi @heldry ,

     

    Are you using the PowerApps button as the trigger?

    If yes, after you edited the flow, you need to remove the flow from the specified app and re-add it again, then this error will be solved.

    Please take a try and check if the issue still exists.

     

    Best Regards,

  • Jcook Profile Picture
    7,770 Most Valuable Professional on at
    Re: Action in a Flow suddenly throws error

    Hello @heldry 

     

    Can you try:

    - Remove the SharePoint action and than re create.

    - Create a New SharePoint connection, this can be done by clicking on the email that shows up on the action in the bottom right corner, than clicking change connection.

     

    - If none of those suggestions work. Try creating a basic flow with SharePoint action and run it as a test.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow