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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
SergioPerdiz
Frequent Visitor

InvalidHttpRequestToLivy: Sessions isn't active

Hi,

 

I'm currently testing the below code I a Notebook in Fabric, however I get the following error message: InvalidHttpRequestToLivy: Submission failed due to error content =["requirement failed: Session isn't active."] HTTP status code: 400. Trace ID: 6789d3a2-e271-456a-89c8-f78933e3eb30. After that the session is stopped automatically and none of the child notebooks did run succesfully.

 

SergioPerdiz_0-1719417030143.png

 

 

from notebookutils import mssparkutils

DAG = {

    "activities": [

        {   "name": "gold_custom_dates_runMultiple", # activity name, must be unique
            "path": "gold_custom_dates_runMultiple", # notebook path
            "timeoutPerCellInSeconds": 90, # max timeout for each cell, default to 90 seconds
            "retry": 1, # max retry times, default to 0
            "retryIntervalInSeconds": 30, # retry interval, default to 0 seconds
        },
        {   "name": "gold_custom_dates_relative_runMultiple", # activity name, must be unique
            "path": "gold_custom_dates_relative_runMultiple", # notebook path
            "timeoutPerCellInSeconds": 90, # max timeout for each cell, default to 90 seconds
            "retry": 1, # max retry times, default to 0
            "retryIntervalInSeconds": 30, # retry interval, default to 0 seconds

        },
        {   "name": "gold_custom_dates_document_runMultiple", # activity name, must be unique
            "path": "gold_custom_dates_document_runMultiple", # notebook path
            "timeoutPerCellInSeconds": 90, # max timeout for each cell, default to 90 seconds
            "retry": 1, # max retry times, default to 0
            "retryIntervalInSeconds": 30, # retry interval, default to 0 seconds
            #"dependencies": [] # list of activity names that this activity depends on
        },
        {   "name": "gold_custom_dates_created_runMultiple", # activity name, must be unique
            "path": "gold_custom_dates_created_runMultiple", # notebook path
            "timeoutPerCellInSeconds": 90, # max timeout for each cell, default to 90 seconds
            "retry": 1, # max retry times, default to 0
            "retryIntervalInSeconds": 30, # retry interval, default to 0 seconds
            #"dependencies": [] # list of activity names that this activity depends on
        }

    ],

    "timeoutInSeconds": 43200, # max timeout for the entire pipeline, default to 12 hours
    "concurrency": 1 # max number of notebooks to run concurrently, default to unlimited
}

# mssparkutils.notebook.runMultiple(DAG, {"displayDAGViaGraphviz":True, "DAGLayout":"spectral", "DAGSize":11})
mssparkutils.notebook.runMultiple(DAG)

 

 

I tried some of the solutions on this forum concerning error's related tot Livy, but nothing seems to work.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @SergioPerdiz 

Apologies for the inconvenience.

Please reach out to our support team to gain deeper insights and explore potential solutions. It's highly recommended that you reach out to our support team. Their expertise will be invaluable in suggesting the most appropriate approach.

Please go ahead and raise a support ticket to reach our support team:

https://support.fabric.microsoft.com/support

After creating a Support ticket please provide the ticket number as it would help us to track for more information.

 

Thank you.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @SergioPerdiz 

Apologies for the inconvenience.

Please reach out to our support team to gain deeper insights and explore potential solutions. It's highly recommended that you reach out to our support team. Their expertise will be invaluable in suggesting the most appropriate approach.

Please go ahead and raise a support ticket to reach our support team:

https://support.fabric.microsoft.com/support

After creating a Support ticket please provide the ticket number as it would help us to track for more information.

 

Thank you.

Helpful resources

Announcements
September Fabric Update Carousel

Fabric Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors