Forum Discussion
Sarmistha1245
Apr 11, 2024Copper Contributor
Error Code 11402 to Call REST API from Azure Data Factory
Using Copy Activity with REST connector to call REST API. Getting error details - "Error Code 11402. The Remote name could not be resolved: "<Base URL>"." But I am using the same Base URL in Postman which is working . Can you suggest to call from ADF pipeline, do I need to take care anything else ? What can be the possible reasons to get that error in ADF ? Any kind of access certificates need to be granted from Source side ?
1 Reply
Sort By
Error Code 11402 may indicate network-related issue, please try to locate the cause below:
- DNS Resolution: Ensure that the Base URL is correctly resolved by the DNS server used by the ADF environment. You can try using an IP address instead of the URL to see if it resolves the issue.
- Network Configuration: Verify that the network configuration in ADF allows outbound connections to the Base URL. Check any firewalls, proxies, or network security groups that might be blocking the connection.
- Authentication: Ensure that the authentication details (username and password) are correctly configured in the REST linked service. Double-check that the credentials are valid and have the necessary permissions.
- Certificates: If the REST API requires SSL/TLS certificates, make sure that the certificates are correctly installed and trusted by the ADF environment. You might need to configure the enableServerCertificateValidation property in the REST linked service.
- Integration Runtime: Ensure that the Integration Runtime (IR) used by ADF has the necessary network access to reach the Base URL. Sometimes, the IR might be restricted by network policies.
- Postman vs. ADF: Since Postman works but ADF doesn't, it might be helpful to compare the network settings and configurations between the two environments. Look for any differences that might explain why ADF is unable to resolve the URL.