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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
AnmolGan81
Helper I
Helper I

Not able to run single command over the notebook

Hi I have been trying to simple load data from an already present table in my lakehouse, but whenever I create notebook and right click on the present delta table and try to run the command I get below error:

 

We are unable to start a notebook session. To re-establish the connection, run the notebook again.Diagnostic info: (fetch_kernel_specs; p9wwvu) [0] null

 

Below command I am trying to run

df = spark.sql("SELECT * FROM Lakehouse1.publicholidays LIMIT 1000")
display(df)
 
I have fabric capacity of F2 sku but still not able to run anything over notebook, does anyone else faced this issue?

 

1 ACCEPTED SOLUTION
v-tsaipranay
Community Support
Community Support

Hi @AnmolGan81,

 

Thank you for reaching out to the Microsoft Fabric community forum. 

 

The issue appears to be that the F2 SKU has limited resources, with only 4 Spark vCores available. This means you can only run one Spark session at a time, even if you're using multiple notebooks. If there's an active session in one notebook, attempting to start a new session in another notebook causes the error.

To fix this, you have to restart the capacity and manually terminate the Spark session from the notebook. Once that's done, you can easily restart the session whenever needed.

 

I hope my suggestions give you good ideas, if you need any further assistance, feel free to reach out.

 

If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

 

Thank you. 

 

View solution in original post

4 REPLIES 4
v-tsaipranay
Community Support
Community Support

Hi @AnmolGan81,

 

Thank you for reaching out to the Microsoft Fabric community forum. 

 

The issue appears to be that the F2 SKU has limited resources, with only 4 Spark vCores available. This means you can only run one Spark session at a time, even if you're using multiple notebooks. If there's an active session in one notebook, attempting to start a new session in another notebook causes the error.

To fix this, you have to restart the capacity and manually terminate the Spark session from the notebook. Once that's done, you can easily restart the session whenever needed.

 

I hope my suggestions give you good ideas, if you need any further assistance, feel free to reach out.

 

If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

 

Thank you. 

 

Yeah I figured out the issue yesterday, thanks for all the help.

jennratten
Super User
Super User

What happens when you manually try to to start a new session? On occassion I will get a similar error - when I reconnect the session and run the notebook it resolves. 

 

jennratten_0-1736254280937.png

 

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

That gives the same error as posted most of the time I got below error for F2 capacity, when I am only executing query to create a delta table from the file, I dont know how many concurrent session an F2 Capacity can run, also I did not find any documentation related to it:

 

Message
This spark job can't be run because you have hit a spark compute or API rate limit. To run this spark job, cancel an active Spark job through the Monitoring hub, choose a larger capacity SKU, or try again later. HTTP status code: 430 {Learn more}
Error Code
TooManyRequestsForCapacity

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.