How to fix web activity error "Error calling the endpoint" for Azure API management service from Azure data factory

Chodisetti, Veda 0 Reputation points
2024-04-22T21:50:32.2266667+00:00

I have an azure data factory in VNet and API management service with virtual network type "Internal". I am trying to invoke one of the Api endpoints from data factory using web activity "POST" method but getting the below mentioned error from ADF. The same endpoint is working from postman but not from ADF. In the web activity, I'm using the same type of authentication and headers which were used in postman. Also, the runtime we are using in the web activity has interactive authoring enabled.

Error message from ADF web activity: "Error calling the endpoint 'https://apim-test-dev.azure-api.net'. Response status code: 'NA - Unknown'. More details: Exception message: 'NA - Unknown [ClientSideException] The remote name could not be resolved: 'apim-test-dev.azure-api.net''. Request didn't reach the server from the client. This could happen because of an underlying issue such as network connectivity, a DNS failure, a server certificate validation or a timeout."

Any pointers to help this issue would be greatly appreciated.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,074 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,566 questions
{count} votes

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.