Errors

event_types_required

400 – No event types. The Webhook subscribes to nothing, and a Webhook that carries no type would never fire.

No event types. Answered with 400.

What it means

The Webhook subscribes to nothing, and a Webhook that carries no type would never fire.

What to do

Send event_types as a non-empty list.

The body

{
  "type": "https://tigby.eu/problems/event_types_required",
  "title": "No event types",
  "status": 400,
  "detail": "…what was refused, naming this request's own values",
  "code": "event_types_required",
  "doc_url": "https://docs.tigby.eu/errors/event_types_required",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.