<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Copy Data activity - ErrorCode=FailedToUpsertDataIntoDeltaTable in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-ErrorCode-FailedToUpsertDataIntoDeltaTable/m-p/5000784#M9105</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231882" data-lia-user-login="KerenLopez" class="lia-mention lia-mention-user"&gt;KerenLopez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
    <pubDate>Mon, 09 Feb 2026 04:40:48 GMT</pubDate>
    <dc:creator>v-dineshya</dc:creator>
    <dc:date>2026-02-09T04:40:48Z</dc:date>
    <item>
      <title>Copy Data activity - ErrorCode=FailedToUpsertDataIntoDeltaTable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-ErrorCode-FailedToUpsertDataIntoDeltaTable/m-p/4995446#M9091</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a pipeline with a Copy Data activity that is loading data into a Delta table in a Lakehouse. The first ingestion runs successfully, but when I run the pipeline for a second time, the copy activity fails during the upsert operation with the following error:&lt;/P&gt;&lt;P&gt;ErrorCode=FailedToUpsertDataIntoDeltaTable,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Hit an error when upsert data to table in Lakehouse. Error message: Could not load file or assembly 'Microsoft.Bcl.HashCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxxx' or one of its dependencies. El sistema no puede encontrar el archivo especificado.,Source=Microsoft.DataTransfer.Connectors.LakehouseTableConnector,''Type=System.IO.FileNotFoundException,Message=Could not load file or assembly 'Microsoft.Bcl.HashCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxxx' or one of its dependencies. El sistema no puede encontrar el archivo especificado.,Source=TypeExtension,'&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Has anyone encountered the same issue or have any ideas on what might be causing this? Any insights or troubleshooting steps would be greatly appreciated.&lt;/P&gt;&lt;P class="lia-align-center"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2026 15:24:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-ErrorCode-FailedToUpsertDataIntoDeltaTable/m-p/4995446#M9091</guid>
      <dc:creator>KerenLopez</dc:creator>
      <dc:date>2026-02-04T15:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data activity - ErrorCode=FailedToUpsertDataIntoDeltaTable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-ErrorCode-FailedToUpsertDataIntoDeltaTable/m-p/4997831#M9093</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231882" data-lia-user-login="KerenLopez" class="lia-mention lia-mention-user"&gt;KerenLopez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to the Microsoft Community Forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try below things to fix the issue.&lt;/P&gt;
&lt;P&gt;1. Turn on “Enable staging” for the Copy activity:&lt;/P&gt;
&lt;P&gt;Open your pipeline --&amp;gt; Copy data activity --&amp;gt; Settings tab. Turn on Enable staging. Re-run the pipeline.&lt;/P&gt;
&lt;P&gt;2. Use a staging table and MERGE in a Notebook:&lt;/P&gt;
&lt;P&gt;Change sink to Files --&amp;gt; Parquet or a staging Delta table. Add a Notebook activity after the copy with a simple Delta MERGE INTO from staging to the target table.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please check below settings.&lt;/P&gt;
&lt;P&gt;1. Make sure the sink is a Lakehouse Table (Delta) rather than the SQL endpoint of the Lakehouse. The SQL endpoint in Fabric is read-only and can’t be used as a Copy sink for upsert.&lt;/P&gt;
&lt;P&gt;2. Verify the key columns under Table action --&amp;gt; Upsert are correctly mapped and present in the incoming dataset. they will cause other upsert failures.&lt;/P&gt;
&lt;P&gt;3. Avoid temporary tables in source-side stored procedures when possible, historical issues show these can behave differently across connectors and modes. If you need, test with a simplified SELECT to isolate whether the failure is due to source-side temp objects or the sink upsert path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer below links.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-fails-to-save-data-as-delta-table-but-works-if/m-p/4048506" target="_blank"&gt;Solved: Copy activity fails to save data as delta table bu... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-Upsert-Data-into-Lakehouse-Delta-Table-Missing-System/m-p/4831556" target="_blank"&gt;Solved: Failed to Upsert Data into Lakehouse Delta Table –... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 12:34:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-ErrorCode-FailedToUpsertDataIntoDeltaTable/m-p/4997831#M9093</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2026-02-05T12:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data activity - ErrorCode=FailedToUpsertDataIntoDeltaTable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-ErrorCode-FailedToUpsertDataIntoDeltaTable/m-p/5000784#M9105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231882" data-lia-user-login="KerenLopez" class="lia-mention lia-mention-user"&gt;KerenLopez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 04:40:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-ErrorCode-FailedToUpsertDataIntoDeltaTable/m-p/5000784#M9105</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2026-02-09T04:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data activity - ErrorCode=FailedToUpsertDataIntoDeltaTable</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-ErrorCode-FailedToUpsertDataIntoDeltaTable/m-p/5004565#M9114</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1249554" data-lia-user-login="v-dineshya" class="lia-mention lia-mention-user"&gt;v-dineshya&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Apologies for the delayed response &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I wanted to let you know that the first option you suggested —&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;“Enable staging”&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt; in the Copy activity — worked perfectly and resolved the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Thank you very much for your support and for the clear explanation. I really appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Keren.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 22:10:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-ErrorCode-FailedToUpsertDataIntoDeltaTable/m-p/5004565#M9114</guid>
      <dc:creator>KerenLopez</dc:creator>
      <dc:date>2026-02-10T22:10:54Z</dc:date>
    </item>
  </channel>
</rss>

