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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
v-nikhilan-msft
Community Support
Community Support

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
v-nikhilan-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.