- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Webhook response behaviour
What is the response handling on the Meraki side when it has sent a Webhook under the following conditions:
- 5xx
- 404
- 401
- 403
- Other 4xx
- 2xx
The reason I ask is under what conditions will Meraki attempt to resend Webhooks.
I would hope it would let the user know in some way if the url appeared to be correct but the endpoint was returning a 401 implying that the shared secret was incorrect.
I can see for the response codes above that Meraki might retry or not.
I assume a 5xx would be retried a few times, maybe with a back-off?
I couldn't find anything in the documentation as to how to respond to a webhook on a custom server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @daniel_abbatt!
When the dashboard sends a webhook, it expects a HTTP 200 response. Only if it does not get a response will it then re-attempt delivery, up to a total of 10 times, with a back-off timer that doubles in value on each failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So I understand from your statement that if it gets a 400, 401, 403, 404, 500 or 502 it will not attempt redelivery for all these codes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see that we acknowledge those responses (such as a 400) evident by our logging of that response against the specific webhook on our systems, and I don't believe retries are sent for those as a response has already been received.
