web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Internal server error ...
Power Automate
Unanswered

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard