Skip to content

Commit c675565

Browse files
Added information about client timeout after 1 minute
1 parent bdaa7ee commit c675565

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

articles/data-factory/control-flow-webhook-activity.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ Azure Data Factory will pass an additional property “callBackUri” in the bod
112112

113113
The webhook activity itself fails when the call to the custom endpoint fails. Any error message can be added into the body of the callback and used in a subsequent activity.
114114

115+
Further for every REST API call the client will timeout if the endpoint doesn't respond in 1 min. This is standard http best practice.
116+
To fix this issue, you need to implement 202 pattern in this case where the endpoint will return 202 (Accepted) and the client will poll.
117+
118+
The 1 min timeout on the request doesn't have anything to do with the activity timeout. That will be used to wait for the callbackUri.
119+
115120
The body passed back to the callback URI should be valid JSON. You must set the Content-Type header to `application/json`.
116121

117122
When you use the "Report status on callback" option, you must add the following snippet to the body when making the callback:

0 commit comments

Comments
 (0)