Json format Issue in copy command

Rohit Kulkarni 731 Reputation points
2022-02-14T09:32:47.357+00:00

Hello Tea,.

I am trying to access the data from API in JSON format.

173999-image.png

But i am getting error while trying to preview the data in source side :

174072-image.png

Please advise.

Regards
RK

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnnuKumari-MSFT 34,556 Reputation points Microsoft Employee Moderator
    2022-02-15T10:18:14.62+00:00

    Hi @Rohit Kulkarni ,
    Thanks for using Microsoft Q&A platform and posting your query.
    As I understand your question, you want to preview the XML data which comes from API . For this requirement , you are using REST connector.

    However, XML format is supported for the following connectors: Amazon S3, Amazon S3 Compatible Storage, Azure Blob, Azure Data Lake Storage Gen1, Azure Data Lake Storage Gen2, Azure Files, File System, FTP, Google Cloud Storage, HDFS, HTTP, Oracle Cloud Storage and SFTP. It is supported as source but not sink.

    Please refer to the Supporting Document for the above statement : XML format in Azure Data Factory and Synapse Analytics pipelines

    I tried to reproduce your case and got same error when I used REST connector to preview XML data while it successfully worked in case of HTTP connector. Please refer to the below image:

    174455-image.png

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.