Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedJoin us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now
Notebook execution failed at Notebook service with http status code - '200', please check the Run logs on Notebook, additional details - 'Error name - Py4JJavaError, Error value - An error occurred while calling z:notebookutils.notebook.runMultiple.
: com.microsoft.spark.notebook.msutils.NotebookExecutionException: Cannot reference a Notebook that attaching to a different default lakehouse. You can pass the parameter useRootDefaultLakehouse to ignore it, for example in run API: mssparkutils.notebook.run('child_nb', 90, {'useRootDefaultLakehouse': True}), in runMultiple API, please run mssparkutils.notebook.help('runMultiple') for more details. You can check driver log or snapshot for detailed error info! See how to check logs: https://go.microsoft.com/fwlink/?linkid=2157243 .
Solved! Go to Solution.
So I fixed this by adding "useRootDefaultLakehouse": True arg to my dag under my silver script.
So I fixed this by adding "useRootDefaultLakehouse": True arg to my dag under my silver script.
Thank you for sharing the solution with us!
Hi @todd-wilson
If you run a notebook directly with below code (not calling by data pipeline), will it run successfully?
%%configure -f
{
"defaultLakehouse": {
"name": "<lakehouse name>",
"id": "<lakehouse id>",
"workspaceId": "<workspace id>"
}
}
In addition, if you don't use a DAG in the data pipeline, just run multiple notebooks concurrently like below, will it run successfully?
mssparkutils.notebook.runMultiple(["notebook1", "notebook2", "notebook3"])
How many notebooks are running concurrently? Is it possible to reduce some notebooks or run them separately to check if this error occurs on a specific notebook or may occur on each notebook?
Best Regards,
Jing
Community Support Team
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Fabric update to learn about new features.
User | Count |
---|---|
29 | |
3 | |
2 | |
2 | |
2 |
User | Count |
---|---|
16 | |
8 | |
7 | |
5 | |
4 |