a·gen·tic a·gil·i·ty

TFS Integration Tools: TF237165: The Team Foundation Server could not update the work item

Explains how to resolve the TF237165 error in TFS Integration Tools, caused by validation or mapping issues when updating work items during data migration.

Published on
2 minute read
Image
https://nkdagility.com/resources/-dhZywZGtrn
Subscribe

While running an integration platform import you get a “TF237165: The Team Foundation Server could not update the work item because of a validation error on the server. This may happen because the work item has been modified or destroyed, or that you do not have permission to update that work item.”

TFS Integration Tools: TF237165: The Team Foundation Server could not update the work item

Figure: TF237165: The Team Foundation Server could not update the work item

Unfortunately it does not tell you what it was trying to save.

Applies To

Finding

This was a Configuration error that was not really presented effectively. I found it by reducing the dataset to a few known failing items and commenting out all of the field before re-running the migration. I then added each field in one at a time until the error occurred.

I had a missing field migration to map a data value into reason:

And I had an incorrect mapping in the ValueMap:

Figure: Value mapping for Reason field

You can see on lines 2 and 3 of the code above I had incorrectly specified the mapping as having a left value for the field that I was mapping as a @@MISSINGFIELD@@.

Workaround

The mentioned field either needs removed from the mapping or added to the work item. In this case I will be removing it from the mapping as I don’t need that field on the Task WIT.

Did this solve your problem?

Smart Classifications

Each classification [Concepts, Categories, & Tags] was assigned using AI-powered semantic analysis and scored across relevance, depth, and alignment. Final decisions? Still human. Always traceable. Hover to see how it applies.

Subscribe

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​

CR2

Graham & Brown Logo

Graham & Brown

Milliman Logo

Milliman

Workday Logo

Workday

New Signature Logo

New Signature

MacDonald Humfrey (Automation) Ltd. Logo

MacDonald Humfrey (Automation) Ltd.

Brandes Investment Partners L.P. Logo

Brandes Investment Partners L.P.

Jack Links Logo

Jack Links

Trayport Logo

Trayport

Epic Games Logo

Epic Games

Big Data for Humans Logo

Big Data for Humans

SuperControl Logo

SuperControl

Hubtel Ghana Logo

Hubtel Ghana

Xceptor - Process and Data Automation Logo

Xceptor - Process and Data Automation

Microsoft Logo

Microsoft

YearUp.org Logo

YearUp.org

Genus Breeding Ltd Logo

Genus Breeding Ltd

Ericson Logo

Ericson

Nottingham County Council Logo

Nottingham County Council

Department of Work and Pensions (UK) Logo

Department of Work and Pensions (UK)

New Hampshire Supreme Court Logo

New Hampshire Supreme Court

Ghana Police Service Logo

Ghana Police Service

Washington Department of Enterprise Services Logo

Washington Department of Enterprise Services

Royal Air Force Logo

Royal Air Force

Lean SA Logo

Lean SA

Boxit Document Solutions Logo

Boxit Document Solutions

New Signature Logo

New Signature

Brandes Investment Partners L.P. Logo

Brandes Investment Partners L.P.

DFDS Logo

DFDS

Cognizant Microsoft Business Group (MBG) Logo

Cognizant Microsoft Business Group (MBG)