Randomly occurring error while executing Web activity in ADF

AS 20 Reputation points
2023-06-08T10:53:49.9966667+00:00

Hi,

I use a web activity to call the SAP API and get the actual token. I use it in an ADF where I have one main pipe that executes multiple pipes, each starting with this web activity, and in 2 other ADFs where I call this API only once. Occasionally, in a random ADF, in a random pipe, an error occurs after about 45 seconds:

Operation on target Get_Access_Token failed: Error calling the endpoint '[ws addres]' Response status code: 'NA - Unknown'. More details: Exception message: 'NA - Unknown [ClientSideException] An error occurred while sending the request.'. 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.

We called it in Postman on 2 computers at the same time for about a minute and didn't receive any error. Each of the dozens of calls completes successfully after about 1 sec.

Below you can see my Web Activity settings in ADF:

User's image

User's image

User's image

Thank you in advance for any answers that can help solve this issue.

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

Accepted answer
  1. QuantumCache 20,371 Reputation points Moderator
    2023-06-10T17:09:33.43+00:00

    Hello @AS,

    Thanks for reaching out on this forum.

    1. Did you try increasing the timeout in the Web Activity settings!
    2. You can set a retry policy for the Web Activity in case it fails due to these intermittent issues.
    3. Check the documentation of your API to see if there are any API Throttling limits.

    If the issue is still effecting intermittently, please do let us know and we will help you troubleshoot the issue!
    User's image


0 additional answers

Sort by: Most helpful

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.