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 Apps / Post to https://canada...
Power Apps
Answered

Post to https://canada-001.azure-apim.net/invoke 400 error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We have a button from a PowerApp to invoke a Flow/Power Automate, the function code looks like:

 

 

Set(varAssessment,AddAssessment.Run(ClientList.Selected.ID).id);Refresh(Assessment);

 

 

I did need to update the connections used by the flow because of a license change (the person who wrote them left and I had to change the connections to use my license). I tested and all was fine. 

 

Next day we get a 400 error. I can still invoke the flow manually and it works. I don't understand how am I supposed to fix this, it seems broken in Azure.

Categories:
I have the same question (0)
  • Verified answer
    PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @Anonymous remove the flow from the app and add it again. This should solve the issue.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Very odd behavior. 

     

    I have a backup copy of my app. In the backup copy I was able to "refresh" the flow and all is fine.

     

    I made a new copy of my app. I was able to remove and re-add the flow and all is fine.

     

    In the existing app refresh did not work, it told me I had to remove an re-add the flow. I removed it, but cannot re-add the flow because it will not appear in the list of existing flows. I tried exiting Edit, refreshing the browser multiple times. As far as this copy of the app is concerned, the flow no longer exists.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard