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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
LituRout
New Member

Error When Copying Data from Databricks Metastore to Lakehouse – 'uriString' Value Cannot Be Null

Hi Community,

I’m encountering an error while working with a pipeline for copying data from Azure Databricks metastore to Lakehouse using Microsoft Fabric (Data Factory pipeline):

ErrorCode=InvalidParameter,
Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,
Message=The value of the property 'uriString' is invalid: 'Value cannot be null. Parameter name: uriString'.,
Source='',
Type=System.ArgumentNullException,
Message=Value cannot be null. Parameter name: uriString,
Source=System,

Note: The connection to Databricks is successful, and I’m able to preview the data without any issues. Staging is also enabled in the pipeline.

Has anyone faced a similar issue? It seems like a required URI parameter is missing or incorrectly passed, but I couldn’t pinpoint exactly where this is happening.

Any guidance on possible causes or how to trace and resolve this would be highly appreciated.

7 REPLIES 7
Murtaza_Ghafoor
Helper III
Helper III


@LituRout please try following action items and let me know the results

 

Step     Action

  1.            Confirm Copy sink is targeting a Lakehouse table, not a file path.
  2.            If relying on auto-creation, try pre-creating the table manually.
  3.            Review dataset parameters and linked service configuration—make sure all URIs (e.g. storage container or table path) are populated.
  4.            Inspect pipeline run output and debug logs to pinpoint where uriString is missing or null. Enable debug mode in ADF.
  5.            Test preview on source and sink datasets independently to confirm valid connection and metadata.
Murtaza_Ghafoor
Helper III
Helper III

The error means the pipeline is missing a required URI string—most likely a table path or link in the Lakehouse sink. It often happens when the system attempts auto-create but lacks necessary metadata. Predefining the target table and validating parameter values usually resolves this issue.

v-menakakota
Community Support
Community Support

Hi  @LituRout  ,
Thanks for reaching out to the Microsoft fabric community forum. 

Could you please confirm if the copy activity writes to a Lakehouse table or a file in the Lakehouse?

Also, is the target table pre-created, or are you allowing the pipeline to auto-create it during the run?

Once we have that, we will be able sort the issue.

Best Regards, 
Community Support Team 

Hi @v-menakakota ,

 

It writes to Lakehouse Table.

The target table is not pre-created, I am allowing the pipeline to auto-create it during the run.

Hi  @LituRout  ,

The error message shows something is missing or not properly generated when the pipeline tries to create the table on its own. Sometimes, the Lakehouse sink expects certain details like the table name or folder path, and if those aren’t clearly defined, it can lead to this kind of issue.

 

To help us narrow it down, could you try manually creating the target table in the Lakehouse before running the pipeline? This will help us check if the problem is specifically related to the table being auto-created by the pipeline.
Can you try it once.

Best Regards, 
Community Support Team 

Hi @v-menakakota,

 

I tried manually creating the target table in the Lakehouse and as well as the warehouse before running the pipeline. Still the pipeline failed and same error showed-up.

vanessafvg
Super User
Super User

what does your copy job to ie source to a table or a file?

 

have you switched off staging and tried it without just to isolate where the issue is happening.

 

if you are copying into a table, how do you create the table?

 

 

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

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

July 2025 community update carousel

Fabric Community Update - July 2025

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