OData Source with API Key

Ryan Abbey 1,186 Reputation points
2021-10-29T04:36:39.647+00:00

I have set up an OData linked service and added an Auth Header with API Key, testing the connection comes back successful (PS Is it not possible to parameterise anything within OData??)

I have set up an OData dataset using the above linked service and when clicking "Preview Data", I get data back

However, when I attempt to run the pipeline, I get

actual status code: Unauthorized, response is : {\"fault\":{\"faultstring\":\"Invalid ApiKey\",\"detail\":{\"errorcode\":\"oauth.v2.InvalidApiKey\"}}

Now since the API Key is defined in the linked service, why am I getting the error? How do I get it to recognise the API key that has been entered in the linked service?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Your answer

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