Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

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

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.

Advocate I
Advocate I

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


Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!


Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (3,352)