Testing and troubleshooting

Test your endpoint before real visitors arrive, and use the delivery history to see exactly what your server answered.

Send a test event

Open the address in the app and click Send test event. We send an example person to your URL:

You can send a test even while the address is turned off, so you can test before you start receiving real people. Save a new address first, because the signing secret is created when you save.

See what your server answered

Each address has a Recent deliveries list with the time, the result and the status your server returned. A failed delivery can be sent again with Replay. See Retries and replays.

Test on your own computer

Webhooks need a public https:// URL, so a server running only on your computer cannot receive them. Use a tunnel such as ngrok to get a temporary public URL that forwards to your machine, and add that URL as an address while you test.

# Your server listens on port 3000
ngrok http 3000
# Add the https:// address ngrok prints, plus your route, for example
# https://abc123.ngrok.app/knownvisitors

Remove the test address when you are done. Each account can have up to 3 addresses.

Common problems

What you seeWhat to check
Nothing arrivesThe address is turned on, it starts with https://, and your server is reachable from the internet. Send a test event and check Recent deliveries.
Signature does not matchYou are using the raw body, not re-encoded JSON, and the secret for this address. If you rotated the secret, use the new one. See Verify signatures.
Deliveries time outAnswer 200 within 10 seconds and do slow work afterwards.
A redirect errorYour URL redirects, often from http to https or to add a trailing slash. Use the final URL.
The same person arrives twiceThat is a retry. Skip event IDs you have already saved.
A field is always emptyA field we do not have for a person is null. Check the template on the address includes the field.
The hourly batch never comesBatches are only sent for hours when someone was identified.

Still stuck?

Email support@knownvisitors.com or use Contact support in the app. Include the address and the time of a delivery from Recent deliveries, and we will take a look.