You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/control-flow-webhook-activity.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,11 @@ Azure Data Factory will pass an additional property “callBackUri” in the bod
112
112
113
113
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.
114
114
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
+
115
120
The body passed back to the callback URI should be valid JSON. You must set the Content-Type header to `application/json`.
116
121
117
122
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