<?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 fails when API returns top-level JSON array in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5115234#M9161</link>
    <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1457245" data-lia-user-login="dworka" class="lia-mention lia-mention-user"&gt;dworka&lt;/a&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if you have raised this in the ideas forum?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2026 11:35:31 GMT</pubDate>
    <dc:creator>v-achippa</dc:creator>
    <dc:date>2026-02-23T11:35:31Z</dc:date>
    <item>
      <title>Copy Data activity fails when API returns top-level JSON array</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5005696#M9118</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I’m using the &lt;STRONG&gt;REST connector&lt;/STRONG&gt; with a &lt;STRONG&gt;Copy data&lt;/STRONG&gt; activity to pull data from a custom API and ingest it into a &lt;STRONG&gt;Lakehouse&lt;/STRONG&gt;. The API response is valid JSON, but it returns the payload as a &lt;STRONG&gt;top-level array&lt;/STRONG&gt; ([ ... ], i.e., an &lt;EM&gt;array of objects&lt;/EM&gt;) rather than a &lt;STRONG&gt;top-level object&lt;/STRONG&gt; ({ ... }).&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;It looks like &lt;STRONG&gt;Copy data&lt;/STRONG&gt; expects the response to be a JSON object, and fails when the root element is an array.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Error:&lt;BR /&gt;&lt;/STRONG&gt;ErrorCode=JsonInvalidDataFormat,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Error occurred when deserializing source JSON file ''. Check if the data is in valid JSON object format.,Source=Microsoft.DataTransfer.ClientLibrary,'&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question:&lt;BR /&gt;Is there any way to configure the Copy data activity to handle a JSON array at the root and avoiding this error — without changing the API?&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 14:25:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5005696#M9118</guid>
      <dc:creator>dworka</dc:creator>
      <dc:date>2026-02-11T14:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data activity fails when API returns top-level JSON array</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5007474#M9122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1457245" data-lia-user-login="dworka" class="lia-mention lia-mention-user"&gt;dworka&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Fabric the copy activity with the REST connector does not support a top level json arrays, this is a product limitation.&lt;BR /&gt;The recommended approach is to use a fabric notebook to call the API and write the result to the lakehouse, since the spark natively supports json arrays.&lt;BR /&gt;Alternatively, we can use Dataflow Gen2 because it can ingest array based json payloads.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 11:06:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5007474#M9122</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2026-02-12T11:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data activity fails when API returns top-level JSON array</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5015039#M9130</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="882907" data-lia-user-login="v-achippa" class="lia-mention lia-mention-user"&gt;v-achippa&lt;/a&gt;,&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Thank you for the confirmation and prompt response.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I don’t think I can use a Fabric notebook because my API is behind a Data Gateway.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;That leaves me with Dataflow Gen2, which we chose and which seems to work fine. However, we’re running into separate issues related to authorization for the mentioned API. From what I understand, these should be resolved in the future through planned features, so they’re not critical to this discussion.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;In the meantime, support for top-level JSON arrays in Copy Activity would be the best solution for us. It also seems strange to me that Copy Activity doesn’t support this. Is there any chance this could be supported in the future?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2026 12:10:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5015039#M9130</guid>
      <dc:creator>dworka</dc:creator>
      <dc:date>2026-02-13T12:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data activity fails when API returns top-level JSON array</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5056509#M9147</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1457245" data-lia-user-login="dworka" class="lia-mention lia-mention-user"&gt;dworka&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the clarification.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the API is accessible only through a data gateway, then you are correct that a fabric notebook will not be a suitable option.&lt;/P&gt;
&lt;P&gt;Regarding future support, currently we are not able to confirm the roadmap commitments here.&lt;/P&gt;
&lt;P&gt;If support for top-level JSON arrays in Copy activity would significantly improve your scenario, I recommend submitting your detailed feedback and ideas through Microsoft's official feedback channels. Product engineers do review the feedback there when prioritizing enhancements.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/idb-p/fbc_ideas/ideas/search-ideas" target="_blank"&gt;Fabric Ideas - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 04:34:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5056509#M9147</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2026-02-19T04:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data activity fails when API returns top-level JSON array</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5115234#M9161</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1457245" data-lia-user-login="dworka" class="lia-mention lia-mention-user"&gt;dworka&lt;/a&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if you have raised this in the ideas forum?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 11:35:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-activity-fails-when-API-returns-top-level-JSON-array/m-p/5115234#M9161</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2026-02-23T11:35:31Z</dc:date>
    </item>
  </channel>
</rss>

