Skip to content

Search documentation

Find a page of the Sovgate documentation and jump straight to it.

Fix webhook problems

Why deliveries fail, and how to get your endpoint working and resend what it missed.

Open the endpoint in Developers, Webhooks and a failed delivery to see each attempt: the request Sovgate sent and what your server answered.

Common causes

What you seeLikely causeFix
A timeoutYour server took longer than 15 seconds.Answer with a 2xx first, then do the work.
A 4xx answerYour server refused it, often because a signature check failed.Check the signing secret in your server's environment, and that you sign the raw body exactly as received.
A 5xx answerYour server failed while handling it.Check your server's logs at the time of the attempt.
No connectionThe URL is wrong, or your server isn't reachable from the internet.Check the URL, your server's certificate and your firewall.

Signature checks that fail

  • Use the endpoint's own signing secret: each endpoint has its own, and test and live endpoints are different.
  • Compute the signature over the raw body. A body parsed and serialized again no longer matches.
  • After you roll the secret, deploy the new one. During an overlap, each delivery carries a signature from both secrets.

See Receive events with webhooks.

Get going again

  1. Fix your server, then choose Send test event to check it.
  2. If the endpoint was disabled, choose Enable. Events that happened while it was disabled aren't sent.
  3. Choose Retry failed deliveries to resend what failed, for up to the last 15 days.