<?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 for JSON from paged API response in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-Activity-for-JSON-from-paged-API-response/m-p/3913370#M3255</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="47144" data-lia-user-login="mark_carlisle" class="lia-mention lia-mention-user"&gt;mark_carlisle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Glad that you were able to find some insights and thank you for sharing the same with the community as it can be helpful to others.&lt;BR /&gt;Please continue using Fabric Community for further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 08:56:51 GMT</pubDate>
    <dc:creator>v-cboorla-msft</dc:creator>
    <dc:date>2024-05-13T08:56:51Z</dc:date>
    <item>
      <title>Copy Data Activity for JSON from paged API response</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-Activity-for-JSON-from-paged-API-response/m-p/3909647#M3241</link>
      <description>&lt;P&gt;I have setup a data pipeline that successful retrives data from an API and loads the JSON response into a lakehouse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue is how the copy data activity saves a paged response to a single JSON file, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
    "results": [REMOVED],
    "resultsTotal": 255,
    "resultsPage": 0,
    "resultsPageSize": 100,
    "nextCursor": "AQ=AA=AYrsQAgw=MTk5OTIzMDYyNyE1M2E0NWRjYjNhNDUyMjc1NGE5MjgwOTY4NWFiOTMwMw",
    "startDate": "2023-10-01T00:00:00.000+0000",
    "endDate": "2023-10-02T00:00:00.000+0000"
}
{
    "results": [REMOVED],
    "resultsTotal": 255,
    "resultsPage": 1,
    "resultsPageSize": 100,
    "prevCursor": "AQ=AQ=AYrsP7JA=MTk5OTIzMDYyNyE0ZjhhYmY1N2U2MzM5YTFiYjA5OWNhZjE4ZTY4NDdlNA",
    "nextCursor": "AQ=AA=AYrqPFiQ=MTk5OTIzMDYyNyFjZjFjZmIyN2E1NWExYTk1NDJiYWYyMmIxNzczNjJlNg",
    "startDate": "2023-10-01T00:00:00.000+0000",
    "endDate": "2023-10-02T00:00:00.000+0000"
}
{
    "results": [REMOVED],
    "resultsTotal": 255,
    "resultsPage": 2,
    "resultsPageSize": 100,
    "prevCursor": "AQ=AQ=AYrqLxIg=MTk5OTIzMDYyNyFkYzNjNzczY2Q0Njg3Yjc1NTUzZGJhNjRiMzIwZDg3MQ",
    "startDate": "2023-10-01T00:00:00.000+0000",
    "endDate": "2023-10-02T00:00:00.000+0000"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an example of a response that required paging and what Fabric loaded into the Lakehouse, note the lack of commas between the response, invalidating the JSON.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a limitation of the activity or have I got it configured incorrectly?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 17:40:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-Activity-for-JSON-from-paged-API-response/m-p/3909647#M3241</guid>
      <dc:creator>mark_carlisle</dc:creator>
      <dc:date>2024-05-10T17:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data Activity for JSON from paged API response</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-Activity-for-JSON-from-paged-API-response/m-p/3912158#M3244</link>
      <description>&lt;P&gt;Try setting File Pattern to "Array of Objects"&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 May 2024 20:32:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-Activity-for-JSON-from-paged-API-response/m-p/3912158#M3244</guid>
      <dc:creator>Nero</dc:creator>
      <dc:date>2024-05-12T20:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data Activity for JSON from paged API response</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-Activity-for-JSON-from-paged-API-response/m-p/3913257#M3252</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reponse. Managed to figure this out over the weekend. Looks like I'm impacted by a bug of some sort because we'd been switching that setting about and still getting the same output. It would seem that this bug is preventing the setting taking effect:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to overcome this by editing the JSON (&lt;A href="https://www.linkedin.com/pulse/edit-fabric-pipelines-json-dtower-software-ouzdf" target="_blank"&gt;Edit Fabric Pipeline's JSON (linkedin.com)&lt;/A&gt;) manually.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 08:15:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-Activity-for-JSON-from-paged-API-response/m-p/3913257#M3252</guid>
      <dc:creator>mark_carlisle</dc:creator>
      <dc:date>2024-05-13T08:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Data Activity for JSON from paged API response</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-Activity-for-JSON-from-paged-API-response/m-p/3913370#M3255</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="47144" data-lia-user-login="mark_carlisle" class="lia-mention lia-mention-user"&gt;mark_carlisle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Glad that you were able to find some insights and thank you for sharing the same with the community as it can be helpful to others.&lt;BR /&gt;Please continue using Fabric Community for further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 08:56:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Copy-Data-Activity-for-JSON-from-paged-API-response/m-p/3913370#M3255</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-05-13T08:56:51Z</dc:date>
    </item>
  </channel>
</rss>

