Recently, while trying to invoke webhook using custom global action we got an error saying “The webhook call failed because the http request received non-success httpStatus code. Please check your webhook request handler.”
We were using JS to call a custom global action which was used to invoke webhook which in turn was used to execute azure durable function.
After spending some time on the issue, we found that there was no issue with the action, the JS or the webhook. Rather it was the issue at the azure durable function side.
We were not reading the parameters passed to azure durable function properly for which it was throwing exception and was unable to process the request.
Fixing the azure durable function code to read the parameters properly fixed the issue.
Hope it helps !!