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.

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 😊.

Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -