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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
joakimfenno
Helper V
Helper V

Lakehouse files from copy data activity gets unknown typ

I am using data pipeline - copy data activity to copy data from a rest API to files in fabric lakehouse

everything works as expected but the files end up with an unknown type in the lakehouse file area

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)

Any idea of how I shall troubleshot this

 

joakimfenno_0-1720685371728.png

 

Example response from API

 

{
  "Items": [
    {
      "Id": 1,
      "Name": "test"
    },
    {
      "Id": 2,
      "Name": "test2"
    }
  ],
  "Take": 2,
  "Skip": 0,
  "Count": 2
}
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @joakimfenno ,

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).

 

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.

 

It is also possible to change the file type of lakehouse, you can check this documentation: Navigate the Fabric Lakehouse explorer - Microsoft Fabric | Microsoft Learn

vyilongmsft_0-1720751072199.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @joakimfenno ,

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).

 

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.

 

It is also possible to change the file type of lakehouse, you can check this documentation: Navigate the Fabric Lakehouse explorer - Microsoft Fabric | Microsoft Learn

vyilongmsft_0-1720751072199.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

it worked when I ended the filename with ".json"

just setting type json did not work

Helpful resources

Announcements
April Fabric Update Carousel

Fabric Monthly Update - April 2026

Check out the April 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.