Share via

Multiple pipelines using ADF custom activity failing due to InvalidXmlNodeValue error

Alankritha C H 0 Reputation points Microsoft Employee
2026-04-07T09:16:17.2+00:00

I have multiple pipelines that use ADF Custom Activity with a Batch Account, and they normally run successfully.

However, they have been failing consistently for the past 3 days with the error: “The value for one of the XML nodes is not in the correct format.”

We have not deployed or changed any code during this period.

The pipelines were functioning normally before this started.

Error:
Error code: InvalidXmlNodeValue
Error Message: The value for one of the XML nodes is not in the correct format.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 41,131 Reputation points Volunteer Moderator
    2026-04-07T15:10:12.9966667+00:00

    Hello Alankritha !

    Thank you for posting on MS Learn Q&A !

    I think it is a service side or request serialization issue and not a problem with your activity.

    My assumption is that XmlNodeName and XmlNodeValue both as a timestamp like 2026-03-23T06:25:56Zso batch rejected a datetime value or another serialized field in the request even though nothing changed in your code. I would first inspect anything dynamic that could end up in the batch request or the task metadata that renders dates.

    Try to check this old thread ; https://dori-uw-1.kuma-moon.com/en-us/answers/questions/5824272/adf-custom-activity-for-batch-accounts-intermitten

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.