<?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: Lakehouse files from copy data activity gets unknown typ in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Lakehouse-files-from-copy-data-activity-gets-unknown-typ/m-p/4038356#M4530</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="466155" data-lia-user-login="joakimfenno" class="lia-mention lia-mention-user"&gt;joakimfenno&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;First you need to make sure that the replication activity in the data pipeline explicitly specifies that the output format is JSON, and that the REST API response contains the correct content type header (application/json).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next make sure you save the file with a .json extension. Sometimes the file type may not be recognized if the extension is missing or incorrect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is also possible to change the file type of lakehouse, you can check this documentation:&amp;nbsp;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://learn.microsoft.com/en-us/fabric/data-engineering/navigate-lakehouse-explorer" target="_blank"&gt;Navigate the Fabric Lakehouse explorer - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2024 02:25:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-12T02:25:42Z</dc:date>
    <item>
      <title>Lakehouse files from copy data activity gets unknown typ</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Lakehouse-files-from-copy-data-activity-gets-unknown-typ/m-p/4036590#M4521</link>
      <description>&lt;P&gt;I am using data pipeline - copy data activity to copy data from a rest API to files in fabric lakehouse&lt;/P&gt;&lt;P&gt;everything works as expected but the files end up with an unknown type in the lakehouse file area&lt;/P&gt;&lt;P&gt;the response from the API is in json format and I want to store the files as json (but I have also tried other formats)&lt;/P&gt;&lt;P&gt;Any idea of how I shall troubleshot this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example response from API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "Items": [
    {
      "Id": 1,
      "Name": "test"
    },
    {
      "Id": 2,
      "Name": "test2"
    }
  ],
  "Take": 2,
  "Skip": 0,
  "Count": 2
}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Jul 2024 08:14:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Lakehouse-files-from-copy-data-activity-gets-unknown-typ/m-p/4036590#M4521</guid>
      <dc:creator>joakimfenno</dc:creator>
      <dc:date>2024-07-11T08:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse files from copy data activity gets unknown typ</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Lakehouse-files-from-copy-data-activity-gets-unknown-typ/m-p/4038356#M4530</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="466155" data-lia-user-login="joakimfenno" class="lia-mention lia-mention-user"&gt;joakimfenno&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;First you need to make sure that the replication activity in the data pipeline explicitly specifies that the output format is JSON, and that the REST API response contains the correct content type header (application/json).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next make sure you save the file with a .json extension. Sometimes the file type may not be recognized if the extension is missing or incorrect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is also possible to change the file type of lakehouse, you can check this documentation:&amp;nbsp;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://learn.microsoft.com/en-us/fabric/data-engineering/navigate-lakehouse-explorer" target="_blank"&gt;Navigate the Fabric Lakehouse explorer - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 02:25:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Lakehouse-files-from-copy-data-activity-gets-unknown-typ/m-p/4038356#M4530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-12T02:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse files from copy data activity gets unknown typ</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Lakehouse-files-from-copy-data-activity-gets-unknown-typ/m-p/4038526#M4531</link>
      <description>&lt;P&gt;it worked when I ended the filename with ".json"&lt;/P&gt;&lt;P&gt;just setting type json did not work&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 05:07:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Lakehouse-files-from-copy-data-activity-gets-unknown-typ/m-p/4038526#M4531</guid>
      <dc:creator>joakimfenno</dc:creator>
      <dc:date>2024-07-12T05:07:04Z</dc:date>
    </item>
  </channel>
</rss>

