# webhook_ping_failed (400) Registering a webhook endpoint sends it a signed `ping`, which must be answered with a 2xx within 10 seconds. It wasn't, so the endpoint was not saved. `result` says what happened: | `result` | Meaning | | ----------------------- | ---------------------------------------------------------------------------- | | `http_status` | Your server answered with the status in `statusCode`, which isn't a 2xx | | `timeout` | No answer within 10 seconds | | `tls_failed` | The TLS certificate did not verify for the URL's host name | | `connection_failed` | The host name did not resolve, or no connection could be made | | `redirect_not_followed` | Your server answered with a redirect (`statusCode`). Redirects are never followed | Nothing your server sent back is kept or shown: only the status code. **Fix:** make the URL answer a `POST` with a 2xx, at exactly that address, then register again. - Deploy the endpoint before you register it. - **Answer every `ping` with a 2xx, whether or not its signature verifies.** A ping is a request whose `ApiData-Event-Type` header is `ping`. The registration ping is signed with a secret you receive only in the answer, and a second endpoint's ping is signed with its own new secret, not with one you already hold. An endpoint that answers `400` to a ping it can't verify fails registration with `result: http_status` and `statusCode: 400` ([registration](../reference/endpoints/create-webhook-endpoint.md)). - Until the secret is stored, answer every other request `503`, never a 2xx: a notice answered 2xx is not sent again. - A redirect from `http` to `https`, to a `www.` name or to a trailing slash counts as a failure. Register the final URL. - Use a certificate from a public authority, with its full chain, valid for the host name.