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 / Invalid template error...
Power Automate
Unanswered

Invalid template error using custom API

(0) ShareShare
ReportReport
Posted on by 51

Hello, using a custom API, created a flow to be triggered from a PowerApps control. It worked the first time...but then on susequent invocations, I get:

 

 
flow-error.png
Not sure where to look! Is there an advanced mode where I can check the template JSON. The link provided in the error message is for LogicApps!!! 
 
Regards
Categories:
  • Samuel Profile Picture
    Microsoft Employee on at

    We currently have a bug when saving flows which are triggered by a PowerApp button. (We're working on it.) But that bug should happen when saving the flow from the Flow portal (flow.microsoft.com). If you create and save the flow on the PowerApps portal (web.powerapps.com) it should work. Then you can come back to the Flow portal to see the details of each run. Please try re-creating the flow from the PowerApps portal and see if that solves the problem for you. If not, please let us know, there may be something deeper going on.

  • khaledhikmat Profile Picture
    51 on at

    Yeah...ok....well. I tried to create a Flow within PowerApps.... in summary...it is a frustating experience:

    1. PowerApps studio crashes often! For example, it crashes every time, I go to the Flow within the page to try to delete it (u know those 3 dots). Before I could go down to remove, it would have sent me to the PowerApp site and closed the studio.
    2. Restaring PowerApps studio and load the PowerApps app in it takes at least a minute
    3. In PowerApps web, the flows are not refreshed proprery. You delete the flow ...it does not go away. You try to delete it again thiniking something has gotten wrong, it says youdon't have access!

    Now...I am unable to associate the PowerApps button with the flow that I just created in PowerApps (based on your recommendation)...it just keep on runnig with the purple marching ants. Here is what I see:

     

    flow3.png

     

    Regards

  • Samuel Profile Picture
    Microsoft Employee on at

    I'm sorry to hear it's been frustrating. I just had a successful attempt with a fresh install of the studio and a blank app, so there's hope in sight. You may also be able to get it working from that minimal state. It sounds kind of like the PowerApp itself is causing problems for the studio if it's loading so slowly and crashing. Using the send-a-frown feature from inside the studio will also start a conversation with the PowerApps studio/service team for further support/diagnosis. Otherwise, you can reach out to me at saban@microsoft.com with the ID of the flow (or flows) in question and I can look into it. The ID of the flow shows up as the last part of the URL in the browser when you go to the flow editor.

  • khaledhikmat Profile Picture
    51 on at

    Ok....I did leave it for 2 days as i was busy doing other stuff, came back today and it seems to work Smiley Happy Not really sure what happened...but I think the flow has to be ceated in PowerApps for it to work. In any case, I wanted to follow up on my question whether I could get into an advanced mode to check up on errors like what I experienced.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard