using HTTP in ADF Copydata to fetch JSON File

Mav 81 Reputation points

Hi I am trying to call an API that returns JSON reponse.
In COPY DATA Task I have defined an HTTP source ,
at linked service level in AUTH HEADERS I am passing subscription key and passing token in the URL.
When I preview source data, I can see data fine.

However, during run time I get error

The credential to read http file is invalid.

What can be the issue at RunTime

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,337 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,915 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,517 questions
{count} votes