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 / Internal server error ...
Power Automate
Answered

Internal server error when trying to update a SharePoint list item in Flow

(0) ShareShare
ReportReport
Posted on by 11

Hi all,

I've been working on a Flow to update the name of a SharePoint list item, using the step: Send HTTP request to SharePoint.

The problem part of the flow is shown below. 

Server error.jpg

I have validated the site address and URI by putting a combination of the two into Chrome. The resulting xml also provided the format of the metadata type in the body section of the step. FileLeafRef is I believe the internal SP name for 'Name'.

The error that I get - after two retries by flow - is Internal Server Error, followed by Bad Gateway.

Can anyone advise what the problem might be? The service account is set up as an owner on the SP site, and both form and flow are built in the service account.

All advice welcome!

Many thanks,

Ian

 

Categories:
I have the same question (0)
  • Brad_Groux Profile Picture
    4,556 on at

    This is likely a syntax or permissions error (as most bad gateway errors are). At first glance the issue may lie in the Id parameter that you are passing into the Uri entry box. 

    If you could provide an expanded screenshot of your entire Flow and steps, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @IanWa ,

     

    You should fill items() with item ID instead of File identifier, please replace Id with ID.

    You can refer to this similar thread:

    https://powerusers.microsoft.com/t5/Building-Flows/Renaming-a-File-in-SharePoint-Online/td-p/176708

     

    Best Regards,

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 997

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 642

Last 30 days Overall leaderboard