question

JigneshShah-3584 avatar image
0 Votes"
JigneshShah-3584 asked KranthiPakala-MSFT commented

Azure Data Factory-Web Hook activity

Respected,

I am calling an API in the ADF pipeline using Web Hook activity. The API runs for over 2-3 minutes.

I am seeing that the timeout on Web Hook is 10 mins and have also checked Report Status on Callback to true.

In spite of all these, the Web Hook activity fails with ErrorCode as BadRequest in 1 minute.

Any idea why this error occurs and is there a way to overcome it?

88036-image.png


88054-image.png


azure-data-factory
image.png (6.6 KiB)
image.png (11.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KranthiPakala-MSFT avatar image
0 Votes"
KranthiPakala-MSFT answered KranthiPakala-MSFT commented

Hi @JigneshShah-3584 ,

Thank for reaching out.

For every REST API call, the client times out if the endpoint doesn't respond within one minute. This behavior is standard HTTP best practice. To fix this problem, implement a 202 pattern. In the current case, the endpoint returns 202 (Accepted) and the client polls.

The one-minute timeout on the request has nothing to do with the activity timeout. The latter is used to wait for the callback specified by callbackUri.

For more info please refer to this doc: Additional notes - Webhook Activity in Azure Data Factory

In additional, I would also recommend to please review this similar thread in stackoverflow and see if that helps: Azure Data Factory WebHook Fails after 1 minute

Hope this info helps.



Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @JigneshShah-3584 ,

Just checking in to see if the above info was helpful. If it answers your query, please do click “Accept Answer” and/or Up-Vote, as it might be beneficial to other community
members reading this thread. And, if you have any further query do let us know.

Thank you

0 Votes 0 ·

Hi @JigneshShah-3584,

We still have not heard back from you. Just wanted to check if the above suggestion was helpful? If it answers your query, please do click “Accept Answer” and/or Up-Vote, as it might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

Thank you

0 Votes 0 ·