REST API Copy Fail

Aaron McKenna 0 Reputation points
2023-06-08T08:55:03.04+00:00

Hi

I am attempting to copy API using the REST connector in Data Factory. Can grab a bearer token and then pass this in with Authorization into a copy activity with the source as REST and sink as JSON to store in storage account (using AutoResolve IR). The linked service test for the REST is successful. Also I'm successfully able to "preview data" on source in Copy activity (as well as pull in the schema), however during the debug (and even on a published trigger) run the following error is thrown up:

Authentication failed because the remote party has the transport stream.

I have tried various configurations of authentication and the above occurs for both anonymous and Oauth.

Thanks in advance

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

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2023-06-09T22:26:44.7633333+00:00

    Hello Aaron McKenna,

    Yes, one possible reason could be the security protocol on the SHIR is not configured correctly. Do you see any errors(SHIR logs) on the event viewer?

    Please check the below troubleshooting guide for SHIR-related issues.

    https://learn.microsoft.com/en-us/azure/data-factory/self-hosted-integration-runtime-troubleshoot-guide?tabs=data-factory

    0 comments No comments

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.