PagerDuty never receives alerts; Alertmanager logs `unexpected status code 400 ... Event object is invalid`
IntermediateTroubleshootingAlerting and Alertmanager
Answer
Likely causes → Using service_key (Events API v1) with an Events API v2 integration key, or the payload exceeds limits from huge annotations.
Diagnose → Check the integration type in PagerDuty and the receiver config.
Fix → For v2 integrations use routing_key: (or routing_key_file). Trim large annotation fields.
Prevent → Test receivers with amtool alert add in staging.
More on Alerting and Alertmanager
An alert shows `Pending` in Prometheus but never goes to `Firing`BeginnerAn alert is `Firing` in Prometheus but nothing reaches AlertmanagerIntermediateAlertmanager shows the alert but Slack receives nothingBeginnerAlertmanager logs `notify retry canceled due to unrecoverable error after 1 attempts: channel_not_found`IntermediateAlertmanager logs `unexpected status code 404: no_service` / `invalid_token` for SlackBeginnerAlertmanager fails to load config: `yaml: unmarshal errors: field matchers not found in type config.plain`Intermediate