X-API-KEY not recognised when calling to REST API endpoint from Dataflow

Philipp Paller 1 Reputation point
2022-06-07T09:18:11.88+00:00

Hi everyone

I'm trying to call to a REST API endpoint via the source block in a Dataflow. The endpoint uses an X-API-KEY as authentication.
I created the REST API linked service and added the X-API-KEY as additional header.
Using this linked service, the copy data function works as intended, however trying the same API call in a Dataflow returns an ("Unrecognized api key") from the endpoint.

I've tried hardcoding the x-api-key in the dataflow instead of the linked service, which didn't result in any change either.
The same issue comes up, when I try to make an external Call from within a Dataflow.

Is there any way to see the outgoing API calls from a linked service?
Am I missing something in my settings?

Best regards
Philipp

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. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2022-06-15T05:17:25.923+00:00

    Hi @Philipp Paller ,

    Could you please try adding API Key in Additional headers under dataflow source options? And share the results? Also if possible share failure activity runID too. Thank you.

    Please let us know how it goes.


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.