Forum Discussion

fbeigh28's avatar
fbeigh28
Regular Visitor
2 years ago

Fabric RestAPI Cleint

I am using Fabric RestAPI client to trigger some notebooks, it was working last week.
This  week the notebooks are always in Notstarted state :

I have tested two Sempy methods with same result : 

client = fabric.FabricRestClient()
response1 = client.post(url)
 
------------------------------------------
 
 
fabric.run_notebook_job(NoteBook_Id, workspaceId,max_attempts=20)
 
Has anything changed ?
 
 

4 Replies

  • v-cboorla-msft's avatar
    v-cboorla-msft
    Microsoft Employee

    Hi fbeigh28 

     

    Thanks for using Microsoft Fabric Community.

    Apologies for the inconvenience.

    There might be a chance of an intermittent issue, So just wanted to check whether the issue still persists or it got resolved. If the issue still persists, please do let us know, we will try to help.

    Could you please share some screenshots of the issue, in case if you are still facing the issue, in order to guide you in better way.

     

    Thank you.

    • v-cboorla-msft's avatar
      v-cboorla-msft
      Microsoft Employee

      Hi fbeigh28 

       

      We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
      In case if you have any resolution please do share that same with the community as it can be helpful to others.
      Otherwise, will respond back with the more details and we will try to help.

       

      Thanks.

      • v-cboorla-msft's avatar
        v-cboorla-msft
        Microsoft Employee

        Hi fbeigh28 

         

        We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others .
        If you have any question relating to the current thread, please do let us know and we will try out best to help you.
        In case if you have any other question on a different issue, we request you to open a new thread.

         

        Thanks.

  • fbeigh28's avatar
    fbeigh28
    Regular Visitor

    v-cboorla-msft ,

     

    Thank you for getting back to me : I have not retested the scenario.

    I managed to use spark utility : 

    mssparkutils.notebook.run(). This does not work across workspaces but for time being is working and is faster.
     
     
    I found fabric REST API and sempy fabric.run_notebook_job are buggy. I am using starter pool