Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Dynamically updating managed metadata field

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:



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.

Community Support Team
Community Support Team

Re: Dynamically updating managed metadata field

Hi @gj84uw,


Could you please share the error message? 

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

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.

Level: Powered On

Re: Dynamically updating managed metadata field


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:


"error": {
"code": 502,
"source": "",
"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": []

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,023)