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

javier 921 Reputation points
2020-12-19T13:38:34.12+00:00

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.

Thanks

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,640 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Nasreen Akter 10,756 Reputation points
    2020-12-28T14:55:09.46+00:00

    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 26,036 Reputation points
    2021-01-05T21:11:32.74+00:00

    anonymous userSharma-6930
    @javier

    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.