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 / Updating CanvasContent...
Power Automate
Unanswered

Updating CanvasContent1 value for web parts via Power Automate

(0) ShareShare
ReportReport
Posted on by
Hello,
 
I have a Sharepoint Page which has multiple sections and each section has multiple web parts. For each section name, there is a SharePoint list from which I get new data based on date. I am using power automate to update the SharePoint page with this new data for the specific section. 
 
My flow is throwing a Bad Gateway error when I try to send an HTTP request for savepageasdraft endpoint while updating canvascontent1 field. If I leave the canvascontent 1 field blank and try running the flow. It is successful then but as soon as I add value to canvascontent1 field, the flow starts failing and gives Bad Gateway error. 
 
My guess is when I am changing the values in canvascontent1 field for specific section web part, I am breaking something which is causing the issue, but not able to figure it out. 
 
I hope someone can find the issue in this flow which I am not able to see or if someone has a better way of implementing this, That would be very helpful. 
 
Let me know if you need more screenshots for better understanding or debugging.
 
Thanks in advance!
image (18).png
Screenshot 2024-1...
Screenshot 2024-1...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,757 Most Valuable Professional on at
     
    Please share what type of sections you are using and which type of web parts in each of these sections? This will help troubleshooting.
     
    Like you already mentioned, CanvasContent1 can contain a lot of details. So, based on what you have shared so far I would also say it is likely related to the payload you are using in that property.
     
    My first recommendation would be:
    - Start the development toolbar of your browser and switch to the Network tab
    - Make the changes you want to change and inspect payload of the POST request (specifically the CanvasContent1)
     
    That approach might give you some clues on what might need to be changed/included in your HTTP request.
     
     

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
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard