Webhooks fail with anything other than 200 response code
Categories
(bugzilla.mozilla.org :: Extensions, defect)
Tracking
()
People
(Reporter: andrew.fenner, Assigned: dkl)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Steps to reproduce:
I set up a webhook to point at a microsoft powerautomate which would post to teams.
Actual results:
When the webhook was trigger the post to the enpoint was send but it was marked as failed and resend continuely blocking other messages from sending.
Expected results:
The message should have sent.
The problem is in
https://github.com/mozilla-bteam/bmo/blob/master/extensions/Push/lib/Connector/Webhook.pm#L180
The response from the webhook endpoint is 202 not 200 and this is correct and should be treated as correct
| Assignee | ||
Updated•5 months ago
|
| Assignee | ||
Updated•5 months ago
|
Comment 1•5 months ago
|
||
Comment 2•5 months ago
|
||
Authored by https://github.com/dklawren
https://github.com/mozilla-bteam/bmo/commit/0e6f580c1d2b7c2f16b4d503eadbd06164b899d7
[master] Bug 1971281 - Webhooks fail with anything other than 200 response code
Description
•