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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Diagnostic of a Notebook does not indicate which part of the code triggered the error

Diagnostic Error in Fabric Notebook – Spark_User_SQL_CannotResolve

Hello Microsoft Support,

I’m encountering a diagnostic error in a Microsoft Fabric Notebook after running a PySpark solution. The job summary shows:
“Spark jobs (20 of 20 succeeded)”, but under Diagnostics, I see:

Spark_User_SQL_CannotResolve

The application is attempting to create a directory or file on a storage path that already exists. Please verify whether the directory or file on a storage path already exists in the specified location. If it does, you may need to decide whether you want to use the existing directory or create a new one with a different name. To overwrite the existing file, set mode("overwrite") on the DataFrameWriter.

 

I’ve reviewed my Notebook but cannot locate the exact line or cell causing this issue. The diagnostic does not indicate which part of the code triggered the error, making it difficult to resolve.

 

In a future release of Fabric, in the Diagnostics area, could you include in the log any or all of the following:

  • The code that triggered the error?
  • The line # of the code that triggered the error?
  • Provide more granular error tracing?

Diagnostic ID: a663136c-b583-4c27-a5f4-046d4cbfdf5f
Timestamp: 2025-10-16T05:07:15.948Z

Thank you for your assistance.

Status: New