How to deby 'Cannot read property 'name' of undefined' error in ADF?

javier 901 Reputation points

While trying to publish my changes in ADF I get the following message:

Error while publishing: Cannot read property 'name' of undefined

I am having a hard time trying to identify the source of the problem since I do not have a variable or env param named 'name'

Would much appreciate any help regarding on how to debug this error.


Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
6,671 questions
1 vote

2 answers

Sort by: Most helpful
  1. Nasreen Akter 10,616 Reputation points

    Hi @javier ,

    I am thinking, probably the issue is not with the pipeline parameters or variables. Wondering , if you have Rule-Based Mapping in any of your DataFlow activity. In the rule-based mapping, you can define columns "name", "type", "stream", "origin", "position" etc. Would you please check the expression (if you have any), there is possibility that it could caused this error. Thanks!


    If this helps, please "accept as answer" and "up-vote" it! Thank you!

  2. MartinJaffer-MSFT 25,556 Reputation points Microsoft Employee

    anonymous userSharma-6930

    I have reached out internally for assistance. This looks similar to (but not the same as) another issue previously resolved.
    In the other issue, the cause was a bug in validating the pipeline. The pipeline had an activity where the dataset / linked service had not been chosen.