Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
jashfabric
Helper II
Helper II

Getting error while running a pipeline

Hi,
I am new to Fabric and doing the exercise https://learn.microsoft.com/en-us/training/modules/use-data-factory-pipelines-fabric/.
Everything runs fine. But in the Modify Pipeline (https://microsoftlearning.github.io/mslearn-fabric/Instructions/Labs/04-ingest-pipeline.html#modify-...) step I am facing an error:

Operation on target 'Sample notebook' failed: Notebook execution encountered an error at the Notebook service with HTTP status code - '200'. Please review the Run logs on the Notebook for additional details. Error details: 'Error name - AnalysisException, Error value - org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message: Spark SQL queries are only possible in the context of a lakehouse. Please attach a lakehouse to proceed.)

I have been trying to fix this from long but not able to succeed. Appreciate your help.


2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @jashfabric 
Thanks for using Fabric Community.
Can you please follow the below steps and retry:

At the leftside of the notebook please click on lakehouses.

vnikhilanmsft_8-1710316606117.png


Click on Add lakehouse.

vnikhilanmsft_9-1710316631662.png

 



Select the lakehouse where the table resides. Attach the lakehouse to the notebook.

vnikhilanmsft_10-1710316649845.png

 



Now try to run the pipeline. 

You can also try this:
Navigate to the notebook, go to "Lakehouses," select "Remove all lakehouses," and then add the same lakehouse back.

vnikhilanmsft_7-1710316575684.png

 


Hope this helps. Please let me know if you have any further questions.


View solution in original post

Anonymous
Not applicable

Hi @jashfabric 
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @jashfabric 
Thanks for using Fabric Community.
Can you please follow the below steps and retry:

At the leftside of the notebook please click on lakehouses.

vnikhilanmsft_8-1710316606117.png


Click on Add lakehouse.

vnikhilanmsft_9-1710316631662.png

 



Select the lakehouse where the table resides. Attach the lakehouse to the notebook.

vnikhilanmsft_10-1710316649845.png

 



Now try to run the pipeline. 

You can also try this:
Navigate to the notebook, go to "Lakehouses," select "Remove all lakehouses," and then add the same lakehouse back.

vnikhilanmsft_7-1710316575684.png

 


Hope this helps. Please let me know if you have any further questions.


That helped a lot @Anonymous 
Thanks for the help.

Anonymous
Not applicable

Hi @jashfabric 
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.