Search code examples
azure-data-factoryazure-databricks

Unable to Execute Databricks Notebook from Azure Data Factory


When I attempt to execute a Databricks notebook from Azure Datafactory with a Base parameter 'entityName',see image, I get the error:

enter image description here

My Base parameters are as follows:

enter image description here

I also have the following widgets in my Databricks Notebook

dbutils.widgets.text("entityName", "test" ,"Entity Name") entityName = dbutils.widgets.get("entityName")

Any thoughts why I'm getting the error?


Solution

  • enter image description here

    When no value provided for the parameter then the above error will occur. To resolve the error, provide value for pipeline parameter as shown below:

    enter image description here

    Then the notebook activity will run successfully without any error as shown below:

    enter image description here