Skip to content
Black Friday: 50% off for life for the first 20 customers, then 40% off your first year. Ends November 30.
Error codes · Status pages & incidents

RU-5005: Inbound incident payload not understood

The body of an inbound incident webhook could not be read as any supported shape: not JSON, or missing the fields the generic shape requires (key and status), or an Alertmanager/Grafana body with no alerts. The `error` field says which.

Where it is raised

  • POST /api/v1/incidents/inbound/{token}

What triggers it

The route reads ?source= (generic, alertmanager or grafana) or detects the shape from the body, then runs that adapter. The generic shape needs key and status, and an Alertmanager or Grafana body needs at least one alert. More than 50 events or alerts in one request is refused with At most 50 alerts per request. A token with a signing secret is checked first, so an unsigned body never reaches the adapter.

Example response

POST /api/v1/incidents/inbound/<token>?source=alertmanager
HTTP 400
Cache-Control: no-store

{
  "error": "The body is not valid JSON.",
  "code": "RU-5005"
}

Common causes

  • A custom webhook template that does not emit `key` and `status`.
  • Sending form-encoded or plain-text bodies instead of JSON.
  • A `?source=` query value naming an adapter the body does not match.

How to fix it

  1. Read the `error` field for the missing field.
  2. Compare the body against the generic shape in the API docs under Inbound incident webhook.
  3. For Alertmanager and Grafana, use their built-in webhook receiver unchanged; no template is needed.

Related codes