- Where
- Console, Developers (Webhooks)
- Who can do it
- Owners and developers
- Plans
- Webhooks is included in Growth, Scale and Enterprise
In detail
Read the delivery log
- Delivered: your endpoint answered 2xx. If your system did nothing with it, look at your own logs and at your signature check.
- Retrying: the last attempt failed and another is due. The log shows the attempt number and the time of the next try.
- Failed: all five attempts failed. Fix the endpoint, then choose Send again.
| The error | What to do |
|---|---|
| No answer within 6 seconds | Answer 2xx first and do the work afterwards. |
| Endpoint answered 301, 302, 307 or 308 | Redirects are not followed. Enter the final address, exactly as your server expects it. |
| Endpoint answered 401 or 403 | Something in front of your endpoint, such as a login, a firewall or bot protection, is refusing it. Let the requests through and check the signature instead. |
| Endpoint answered 404 or 405 | The path is wrong, or the route does not accept POST. |
| Endpoint answered 500 or above | Your code failed. Check its logs; the delivery is tried again. |
| Any other error | Your server could not be reached. Check the address, its DNS and its https certificate. |
No delivery in the log
- The endpoint is paused. Resume it.
- It is not subscribed to that event. Edit it and add the event, or choose all events.
- The event was about the sample network. Those are never sent.
- It is a sender's own endpoint from the sender portal, which hears only about that sender's parcels.
- The event has not happened yet. A driver-nearby event, for example, needs the driver app to be sending the vehicle's position.
Arrived, but your code rejects it
- The signature check fails: compute it over the raw body, with the signing secret of that endpoint, and check your server's clock. See verify webhook signatures.
- The secret was replaced: the old secret stops signing at once. Put the new one on your server.
- The body is not what you expected: each endpoint keeps the body format it was set up with. Compare it with the format in the developer reference.