Scope
A webhook that returned "success", but it is not functioning properly.
Failure reason: Received error code 302 from the server. Redirection is not supported in webhooks.
Failure reason: Received error code 301 from the server. Redirection is not supported in webhooks.
The webhook throws 3XX status code because redirection is not supported in webhooks. This means that the URL that you have configured in your webhook is calling another URL in return which is not supported due to security reasons. Simply put, the webhook URL that you have configured should return the status instead of the redirected URL.
Solution
You can change the webhook URL without redirection. Navigate to Configure>Webhooks>Test webhooks to test your webhook