Error codes · The request itself

Webhook URL refused

Codewebhook_endpoint_invalid
Status422
If this was an orderNever returned when buying
Send it again unchanged?No — change something first
.NET SDKAnisApiException with Code PartnerErrorCode.WebhookEndpointInvalid

What it means

The endpoint URL breaks the public URL rules.

What to do

  • Use HTTPS on port 443 with a public host name that contains a dot, no user-info or fragment, and at most 2048 characters.

Where you can meet it

Example

The body of the refusal. Its type is the address of this page.

{
  "type": "https://developers.anis.ly/errors/webhook-endpoint-invalid",
  "title": "Webhook URL refused",
  "status": 422,
  "code": "webhook_endpoint_invalid",
  "requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}