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 / Action 'Update item' f...
Power Automate
Unanswered

Action 'Update item' failed error 502

(0) ShareShare
ReportReport
Posted on by 10

Hi,

Im trying to create a Flow approval status so when an approval has been approved / rejected it updates a column in a list with either Approved / Rejected depending on the outcome. However, the flow fails on the update item action with status code 502 error details BadGateway. The field is just a choice field with a blank default.

Is this the correct way to implement an approval status or is there a better way. Any advice appriciated!update error.png

Thanks

 

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Shaney,

     

    How is your flow created? Could you share a screenshot of your flow?

    From the error message, it seems that the item you are going to update doesn’t exist. What’s the value you have specified for the Id field of action Update item?

    I have made the following flow. When an item is created in a list, Start an approval, then Update item in the same list.

    In the action Update item, select dynamic content ID from the trigger for Id field, and dynamic content Response for the Choice value field.

    Please check the following screenshot for a reference.

    1.PNG

     

    Best regards,

    Mabel

  • Shaney Profile Picture
    10 on at

    Thanks for your response. Essentially, what I’m trying to accomplish is, running approval on a document in a document library which runs an update item action which update a field on master list. I’ve 2 options for content id – Get item or For a selected item.

    I’ve just added the fields to the document library and now have working as should but am still unable to update item on master list with the same error each time.Screenshot_3.png

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
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard