Skip to the content
YallaRoute

Help · Troubleshooting

Webhooks are not arriving

Open the endpoint's delivery log on the Developers screen. Each delivery shows its status, your endpoint's answer and the error. A delivery counts only when your endpoint answers 2xx within 6 seconds, and redirects are not followed. If there is no delivery at all, the endpoint is paused, is not subscribed to that event, or the event was about the sample network.

Updated

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 errorWhat to do
No answer within 6 secondsAnswer 2xx first and do the work afterwards.
Endpoint answered 301, 302, 307 or 308Redirects are not followed. Enter the final address, exactly as your server expects it.
Endpoint answered 401 or 403Something 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 405The path is wrong, or the route does not accept POST.
Endpoint answered 500 or aboveYour code failed. Check its logs; the delivery is tried again.
Any other errorYour 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.

Try it in your own workspace

A new workspace has the Scale features for its first 14 days. Open one and follow this article with your own data.