Forum Discussion

ech0's avatar
ech0
New Member
6 months ago
Solved

Error IPynbToPyFailure when downloading notebooks via Fabric API (fabricGitSource format)

Hi everyone, I’m trying to download all notebooks from my Microsoft Fabric environment using the Fabric REST APIs with a Service Principal.   My environment contains around 600 notebooks. So far, ...
  • AsgerLB's avatar
    6 months ago

    Hi ech0 

    Thanks for your question.

    Are all your notebooks of the same type (I.e. Spark, Python or T-SQL Analytics)? You error seems to stem from some weird metadata or hidden formatting in the notebooks which cannot be parsed into a .py file compatible with GIT. Try and compare some of the 200 failing notebooks with succeeding notebooks, perhaps you will find some pattern - could be either large encoded images, special charecters or perhaps the notebooks stem from another platform (synapse, databricks etc.) which might save some metadata to them which is not supported in Fabric.

     

    Br Asger