All error codes

invalid_webhook_url

HTTP 422 This URL cannot receive webhooks

What happened

The URL cannot receive webhooks. The reason is named in detail and invalid_params: scheme (not https://), port (not 443), credentials (a user name or password in the URL), host (not a valid host name), ip_literal (an IP address instead of a host name), blocked_host (our own domains, localhost, a name without a dot), unresolvable (the name has no address), private_address (some address of the name is private, loopback, link-local, reserved or ours). Every address of the name counts, not only the first.

What to do

Use a public host name on port 443 that resolves only to public addresses.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/invalid_webhook_url",
    "title": "This URL cannot receive webhooks",
    "status": 422,
    "code": "invalid_webhook_url",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.