Forum Discussion

g3kuser's avatar
g3kuser
Helper II
1 year ago
Solved

Notebook default lakehouse error

I have a notebook A to which default lakehouse gets added dynamically. Notebook A alone executed individually works fine and does the necessary steps. Strangely when Notebook A is called from Noteboo...
  • v-ssriganesh's avatar
    1 year ago

    Hi g3kuser,
    Thanks for posting your query in Microsoft fabric community forum.

    The issue you're facing with the default Lakehouse when using notebook.runMultiple(). The error occurs because Notebook Main does not have a Lakehouse attached, and even though it isn't running Spark queries directly, it still manages the execution environment for child notebooks.

    Try the following steps:

    • Open Notebook Main. Attach a Lakehouse (either the same one as Notebook A or a temporary one). Save Notebook Main with this attached Lakehouse and Execute Notebook Main again.
    • This will ensure that Notebook A inherits the necessary Lakehouse context, preventing the error.

    If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
    Hope this works for you!
    Thank you.