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 / Dynamically updating m...
Power Automate
Unanswered

Dynamically updating managed metadata field

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone

I'm trying to update a MM column in my document library using dynamic data and have been following the instructions here to do this.  However, for some reason the Suggestions step is failing with a 502 - BadGateway error.  The config of this setp is shown below:

 

Capture.PNG

I'm not sure why this is failing as the BadGateway error gives no other information.  I'd be grateful if anyone has any advice that could resolve this because at the moment the only alternative I can see is to use a normal Choice column.

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

    Hi @Anonymous,

     

    Could you please share the error message? 

    Did you install the on-premise gateway? If not, please install it follow these steps:

    https://docs.microsoft.com/en-us/power-automate/gateway-manage#install-a-gateway

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-litu-msft 

    Thanks for the response.  I'm sorry but my original post wasn't clear but the site I'm working with is on SharePoint Online so I didn't think an on-premise gateway was required?

    The error message is quite vague:

    Capture.PNG

     
    "error": {
    "code": 502,
    "source": "flow-apim-europe-001-northeurope-01.azure-apim.net",
    "clientRequestId": "f54409c3-69b6-4fe7-9e2b-03e625816f32",
    "message": "BadGateway",
    "innerError": {
    "status": 502,
    "message": "{\"Message\":\"There was an error processing the request.\",\"StackTrace\":\"\",\"ExceptionType\":\"\"}\r\nclientRequestId: f54409c3-69b6-4fe7-9e2b-03e625816f32\r\nserviceRequestId: 554d1b9f-9066-2000-6f74-eded4c111cde",
    "errors": []
  • aepstein Profile Picture
    2 on at

    I am facing the same issue on a Government Community Cloud (GCC) G3 account.

     

    Here's what my error looks like:

     

    {
      "error": {
        "code": 502,
        "source": "power-apis-usgov001-public.azure-apihub.us",
        "clientRequestId": "1502d2db-03d7-459f-9a63-35d8e90b415c",
        "message": "BadGateway",
        "innerError": {
          "status": 502,
          "message": "{\"Message\":\"There was an error processing the request.\",\"StackTrace\":\"\",\"ExceptionType\":\"\"}\r\nclientRequestId: 1502d2db-03d7-459f-9a63-35d8e90b415c\r\nserviceRequestId: 9557b39f-103f-0000-a572-91ff2fca95c5",
          "errors": []
        }
      }

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
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard