Managed Metadata error - The data returned from the tagging UI was not formatted correctly


You may receive an error "The data returned from the tagging UI was not formatted correctly" (clientRequestId and serviceRequestId GUID with the 400 message) while setting the value of a Managed Metadata column (from Term Store).

MMD error 1
MMD error 1

The error may popup in different scenarios.
  1. Copy paste value from excel to SharePoint list column using Grid View or Quick Edit.
  2. Update the column value using Power Automate Flow (Status 400).
  3. Update the column value via .Net, Client side code.
  4. Update the column value using SharePoint Designer workflow.
  5. Update the column value using REST API.
  6. Update the column value using JSON.
The data returned from the tagging UI was not formatted correctly error
The data returned from the tagging UI was not formatted correctly error

This problem occurs because of the way SharePoint stores the value of MMD Term. Along with the Term Name, the GUID (unique identified) of the Term is also appended.

In the above image, the value of column MMD is copy-pasted as "Asia", but that fails because SharePoint requires the value as Term|GUID (separated with a pipe symbol).


How to find GUID of MMD Term?

You can find the GUID (unique identifier) for the Term from the SharePoint Term Store.
You can also find the GUID from SharePoint Hidden Taxonomy List
  1. Navigate to "Site Settings".
  2. Under "Site Administration", click "Term Store Management".
  3. Expand the Taxonomy and click on the respective Term.
  4. Scroll down and look for "Unique Identifier". Copy the value.
MMD Term ID
MMD Term ID


Now use the MMD column value as Asia|0e4ac5b1-4b60-8030-4791-ea6580ab44f0 in Grid View or Power Automate List Item update step.
If you are copying bulk values from excel, replace all values as Term/GUID and then paste in SharePoint grid view.



⭐ Easy trick to get GUID of MMD Term

Navigate to Quick Edit and select the desired Term in the Managed Metadata column. Now copy the value from the cell and paste it somewhere (Notepad, Notepad++, Excel), the Term automatically has the GUID copied over. Paste it in List Grid View, the value will get resolved now 😊.

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap