The error you are encountering suggests that the notebook you are trying to run cannot be found. This could be because the notebook path you are specifying is incorrect, or because the notebook is not in the same workspace as the notebook you are running the %run
or mssparkutils.notebook.run
command from.
To specify the correct path to the notebook you want to run, you can use the absolute path to the notebook or a relative path. For example, if the notebook you want to run is located in the same folder as the notebook you are running the %run
or mssparkutils.notebook.run
command from, you can use a relative path like this:
shellCopy code
%run ./my_other_notebook
If the notebook you want to run is located in a different folder, you can use a relative or absolute path to specify the notebook location. For example, if the notebook you want to run is located in a subfolder called subfolder
within the same folder as the notebook you are running the %run
or mssparkutils.notebook.run
command from, you can use a relative path like this:
shellCopy code
%run ./subfolder/my_other_notebook
Alternatively, you can use an absolute path to specify the notebook location, like this:
shellCopy code
%run /path/to/my_other_notebook
Make sure that the path you are specifying is correct and that the notebook exists in the specified location. Also, check that you have the necessary permissions to access the notebook.
If you continue to encounter errors, you can try using the dbutils.notebook.run
command instead of mssparkutils.notebook.run
. The syntax for using dbutils.notebook.run
is similar to mssparkutils.notebook.run
, but it might work better for your specific use case.