Troubleshooting

Webhook not receiving events: how to fix it

Short answer

Open Webhooks, click the endpoint and check four things: Status is enabled (an endpoint is turned off after 8 failed deliveries in a row), the event you expect is ticked, the Deliveries table shows attempts, and Details shows what your server answered. Mailcandor needs a public https URL, no redirects, and a 2xx answer within 10 seconds. Fix the cause, turn the endpoint on, then press Send again on missed deliveries.

Last checked 16 November 2026

Start on the webhook’s own page: it shows almost everything you need. Open Webhooks and click the endpoint.

1. Is the endpoint turned on?

Look at Status. If it is disabled, Why it is off says why:

  • “Turned off after 8 failed deliveries in a row. Fix the endpoint, then turn it back on and replay what you missed.” Mailcandor turned it off. Go to step 4 to find the failure.
  • “Turned off by your team.” Someone pressed Turn off. The audit log shows who (webhook.updated).

Fix the cause, then press Turn on. Events that happened while it was off were not recorded for it.

2. Is it subscribed to the event?

Check Events on the webhook. Press Edit to tick more. Common misses:

  • Replies to your domain need email.received, not an email event.
  • Changes to the suppression list are suppression.added and suppression.removed.
  • email.opened only fires when the recipient’s mail app loads images; many block them.

3. Is anything happening to report?

Webhooks fire only for real events. Send a test: open Emails, press Send a test email, then refresh the webhook page. A new row should appear in Deliveries within seconds.

No row at all means no event matched this endpoint: check steps 1 and 2, and that you are looking at the right team.

4. What did your server answer?

In Deliveries, each row shows Status, Attempts and Next try. Press Details for every attempt’s status code, the start of your server’s answer, the time taken and any connection error.

You see Cause Fix
Status code 301, 302, 307, 308 Your URL redirects. Redirects are not followed. Use the final URL (https, exact path, trailing slash as your app expects).
401 or 403 Your signature check, auth middleware or firewall rejects us. See Verify webhook signatures. Do not put a username and password in the URL.
404 or 405 Wrong path, or the route does not accept POST. Fix the route.
413 Your server limits request size. Raise the limit for this route.
500 to 599 Your code threw an error. Check your app logs at that time.
Timeout No answer within 10 seconds. Answer 200 first, process in a background job.
Connection or TLS error Server down, firewall, or an invalid certificate. Fix the certificate chain; allow inbound HTTPS.
“This URL points to a private or reserved address.” The host now resolves to an internal IP. Use a public address.

Anything from 200 to 299 counts as success. The body of your answer does not matter.

5. Replay what you missed

Once fixed and turned on, press Send again on each missed delivery, or use the API:

curl -X POST \
  https://api.mailcandor.com/v1/webhooks/$WEBHOOK_ID/messages/$MESSAGE_ID/replay \
  -H "Authorization: Bearer $MAILCANDOR_KEY"

See Webhook retries and replay.

Test your endpoint by hand

From outside your network, check it answers a POST with a 2xx quickly:

curl -i -X POST https://yourapp.com/webhooks/mailcandor \
  -H "Content-Type: application/json" -d '{}'

A well-built endpoint answers 401 here because the request is unsigned. That still proves it is reachable; a timeout, redirect or 404 does not.

If it does not work

  • Deliveries succeed but your app does nothing. Your handler returned 200 before processing and then failed. Check your job queue and logs.
  • Duplicates. Retries and replays reuse the webhook-id header. Skip ids you have handled.
  • Events arrive out of order. That is expected; each is delivered on its own. Use timestamps and let the most final status win.
  • Everything looks right and nothing arrives. Check the status page, then write to hello@mailcandor.com with the webhook id.

Full details in the API reference.

Questions

Why was my webhook turned off?

After 8 failed deliveries in a row (about 28 hours of retries) the endpoint is turned off automatically. Why it is off on the webhook page says so.

Can I get events that happened while it was off?

No. Events are not recorded for an endpoint while it is off. Read the current state of emails with the API instead.

My endpoint redirects to the right URL. Is that OK?

No. Redirects are not followed and count as failures. Use the final URL.

Can I point a webhook at localhost?

No. Private, local and reserved addresses are refused. Use a public https tunnel for local testing.

Related

Send with someone on your side.

Unlimited domains on every plan, a person before any block, and 3,000 emails a month free. Tell us what you send and we set you up within one business day.