Skip to main content

Notifications

Community site session details
Power Automate - Using Flows
Answered

Unable to process template language expressions...at line '0' and column '0'

Like (0) ShareShare
ReportReport
Posted on 4 Jun 2022 00:24:53 by 13

I've built a flow following these instructions: youtube.com/watch?v=Om4beefKmV0&t=1201s

The relevant section starts at 14:20. I believe I followed the instructions correctly. However, I changed the flow a little to meet my use case. 

The flow errors out on the second step with the error:

InvalidTemplate. Unable to process template language expressions in action 'Get_item' inputs at line '0' and column '0': 'The template language expression 'parameters('$connections')['shared_sharepointonline']['connectionId']' cannot be evaluated because property 'shared_sharepointonline' doesn't exist, available properties are ''. Please see https://aka.ms/logicexpressions for usage details.'.

 

I have verified the connections exist. I have tried exporting the flow and importing as new. I don't know what I'm missing. The error message seems vague to me but I am new to this.

 

Error messageError messageFlow overviewFlow overviewRelevant stepsRelevant stepsConnectionsConnections

 

  • pappwrapp Profile Picture
    7 on 05 Jan 2024 at 23:03:14
    Re: Unable to process template language expressions...at line '0' and column '0'

    I just figured this out!

     

    I recently learned about V2 and thought I would convert a V1 flow to V2.  That's when I got the error.  😞

     

    Save your work in Power Automate then open your flow from Power Apps.  Delete the V1 (or v2) trigger and add it back in.  This won't delete everything that follows, but you may have to re-do a couple bits here and there.  Save your flow in Power Apps.  When you go back to edit in Power Automate the system recognizes the update.  That's what worked for me, anyway.  🙂

  • ialbasheir-kbr Profile Picture
    71 on 30 Oct 2023 at 19:40:04
    Re: Unable to process template language expressions...at line '0' and column '0'

    This is an actual issue when moving away from PowerApps V1 to V2. Reverting to V1 solved the issue. Now with V1 is going away this Bug needs to be fixed.  Any SharePoint action is not adjusting to the new trigger seen below in peek Code: I would try to export then fix the Json file then import it and see if it fixes it. 

    {
     "inputs": {
     "host": {
     "connection": {
     "name": "@parameters('$connections')['shared_sharepointonline']['connectionId']"
     }
     },
     "method": "post",
     "body": {
     "method": "GET",
     "uri": "rew"
     },
     "path": "/datasets/@{encodeURIComponent(encodeURIComponent(''))}/httprequest",
     "authentication": "@parameters('$authentication')"
     },
     "metadata": {
     "operationMetadataId": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
     "flowSystemMetadata": {
     "swaggerOperationId": "HttpRequest"
     }
     }
    }

    SP with peek Code using a power App V2 

    {
     "inputs": {
     "host": {
     "connectionName": "shared_sharepointonline",
     "operationId": "HttpRequest",
     "apiId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline"
     },
     "parameters": {
     "dataset": "",
     "parameters/method": "GET",
     "parameters/uri": ""
     },
     "authentication": "@parameters('$authentication')"
     }
    }

     

  • IT5 Profile Picture
    3 on 02 Oct 2023 at 12:56:59
    Re: Unable to process template language expressions...at line '0' and column '0'

    Thank you it helped, I did the same thing and it worked after rebuilding the flow

  • Community Power Platform Member Profile Picture
    on 18 Jul 2023 at 07:28:49
    Re: Unable to process template language expressions...at line '0' and column '0'

    I tried all of the above and it didn't work.   I was using the PowerApps v2 trigger in the flow.  When I changed that to the original PowerApps trigger, it worked.

  • RonaldLaan1984 Profile Picture
    2 on 04 Nov 2022 at 12:56:39
    Re: Unable to process template language expressions...at line '0' and column '0'

    I had the exact same error and had to rebuild the Flow as well. However I experienced it when after exporting the Flow. I hope Microsoft can look into this. To me this seems like a Bug.

  • v-xiaochen-msft Profile Picture
    on 10 Jun 2022 at 01:52:18
    Re: Unable to process template language expressions...at line '0' and column '0'

    Hi @DecoyGOODz ,

     

    There might be some issues with the previous flow... Anyway, the new flow solved it. Congratulations.

     

    Best Regards,

    Wearsky

  • Verified answer
    DecoyGOODz Profile Picture
    13 on 09 Jun 2022 at 12:33:20
    Re: Unable to process template language expressions...at line '0' and column '0'

    Thank you for the response! Unfortunately, I would get the error no matter if the flow was triggered through power apps or run manually.

     

    I was not able to resolve the problem and had to rebuild the flow from scratch. The rebuilt flow was identical, except with a new name. All tests ran flawlessly. 

  • v-xiaochen-msft Profile Picture
    on 08 Jun 2022 at 05:52:39
    Re: Unable to process template language expressions...at line '0' and column '0'

    Hi @DecoyGOODz ,

     

    The reason for this error is that you are test running the flow using data from a prior test . So you could  test it again manually.

     

    Best Regards,

    Wearsky

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Using Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 7 Super User 2025 Season 1

#1
rzaneti Profile Picture

rzaneti 7 Super User 2025 Season 1

#3
vipuljain03 Profile Picture

vipuljain03 4

Overall leaderboard

Featured topics

Restore a deleted flow
Loading started
Loading started