Closed
Description
Bugs
Particle webhooks should acknowledge standard http response codes (3xx, 4xx, 5xx).
Expected behavior
If you receive an error or redirection etc, then return the message to the user and DO NOT retry it!
Observed behavior
Currently webhooks are retried if they encounter an error. A webhook is then disabled if a number of errors are encountered after the retries expire.
Steps to reproduce
Put in a destination that doesn't exist and hammer it a few times from a few devices. It'll get disabled, but it'll retry first.
Commentary
For years we've been filtering webhooks through AWS HTTP Gateway so that no matter what the actual meaningful server response is, Particle webhooks only ever receives a 200 response code.
The system should adhere to web standards and pass back the code and message provided.
Metadata
Metadata
Assignees
Labels
No labels